Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PhoneNumberPrefixSelect use the provided region #593

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

francoisfreitag
Copy link
Collaborator

Model fields and form fields accept a region keyword argument, and pass
it to their widget. When region is provided, initialize the country
selector in that region, chances are most users want to select it.

Fixes #574

Model fields and form fields accept a region keyword argument, and pass
it to their widget. When region is provided, initialize the country
selector in that region, chances are most users want to select it.
@francoisfreitag francoisfreitag merged commit ee1dd71 into stefanfoulis:main Dec 26, 2023
50 checks passed
@francoisfreitag francoisfreitag deleted the region-formfield branch December 26, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the model/formfield region kwarg the default selection in PhoneNumberPrefixWidget
2 participants