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

222 Is not a valid area code for the US #1958

Open
acnowland opened this issue Feb 10, 2025 · 1 comment
Open

222 Is not a valid area code for the US #1958

acnowland opened this issue Feb 10, 2025 · 1 comment

Comments

@acnowland
Copy link

If you are using the US as a country and enter 222-222-2222 it passes validation. This is not true and 222 is not a valid area code for the united states.

@jackocnr
Copy link
Owner

We use libphonenumber for formatting, validation and generating placeholder numbers - if your issue relates to one of these things, please check their test site first and if you see the problem there please file an issue with them instead.

If it's working correctly in libphonenumber, the next step is to check that we're using the latest version of libphonenumber in the plugin - check the version history here. If we need to upgrade, it only takes 5 minutes to do this yourself and submit a Pull Request - instructions here: Updating to a new version of libphonenumber.

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

No branches or pull requests

2 participants