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

Phone Field marks valid phone number as invalid #2096

Open
chrismlusk opened this issue Oct 18, 2024 · 1 comment
Open

Phone Field marks valid phone number as invalid #2096

chrismlusk opened this issue Oct 18, 2024 · 1 comment

Comments

@chrismlusk
Copy link

chrismlusk commented Oct 18, 2024

Describe the bug

I have a Phone field with the United States as the allowed country. It is flagging the following phone number as invalid: 557-500-1702.

(My client reported this to me. The form in question is one their internal staff uses, and we have confirmed that this phone number is indeed a working number.)

Area code 557 is a valid area code added in 2022.

Craft CMS version

4.12.7

Plugin version

2.1.31

@engram-design
Copy link
Member

This is going to be for the intl-tel-input library we use. I can confirm upgrading this library includes this latest validation, but there's a lot of breaking changes we have to handle, which was done in Formie 3 (for Craft 5).

I'll look into what we can do for Formie 2.

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