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

Handling of special (non-geo) phone numbers #605

Open
francoisfreitag opened this issue Apr 14, 2024 · 0 comments · May be fixed by #614
Open

Handling of special (non-geo) phone numbers #605

francoisfreitag opened this issue Apr 14, 2024 · 0 comments · May be fixed by #614

Comments

@francoisfreitag
Copy link
Collaborator

#603 (comment)

In the split phone number field, the list of regions come from phonenumbers.COUNTRY_CODE_TO_REGION_CODE. However, that dict contains a special region with code "001", corresponding to prefixes in phonenumbers.COUNTRY_CODES_FOR_NON_GEO_REGIONS. These prefixes ought to be handled separately (either not proposed or offered individually). Currently, only the last one (+979) shows up, with the label “world”.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant