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

Remove non-geo phone numbers from the SplitPhoneNumberWidget #614

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

francoisfreitag
Copy link
Collaborator

The COUNTRY_CODE_TO_REGION_CODE dict contains values that are not specific to a region code: the COUNTRY_CODES_FOR_NON_GEO_REGIONS. These country codes are international, and are not a good fit for the SplitPhoneNumberWidget, which offers to select a region, then fill in the national number.

Fixes #605

The COUNTRY_CODE_TO_REGION_CODE dict contains values that are not
specific to a region code: the COUNTRY_CODES_FOR_NON_GEO_REGIONS. These
country codes are international, and are not a good fit for the
SplitPhoneNumberWidget, which offers to select a region, then fill in
the national number.
Copy link
Owner

@stefanfoulis stefanfoulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔will this cause problems for people who have built things around the old behaviour?

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.

Handling of special (non-geo) phone numbers
2 participants