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

[Bug] Invalid phone number format #658

Open
netronic-dev opened this issue Nov 14, 2023 · 0 comments
Open

[Bug] Invalid phone number format #658

netronic-dev opened this issue Nov 14, 2023 · 0 comments

Comments

@netronic-dev
Copy link

Please tell me how I can implement phone number validation using two formats.

Example:
Fixed telephone: +971 2 441 4666
Mobile phone: +971 52 123 4567

As we can see, the UAE country has two phone number formats that differ in one digit. Initially, none of these numbers pass verification. I adjusted the format for mobile like this
masks={{ ae: '.. ... ....' }}
but is it still possible to add an alternative format with one more number of digits?

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

1 participant