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

A valid SA number fails the parser due to its length #403

Open
san1dhya-HL opened this issue Aug 16, 2024 · 0 comments
Open

A valid SA number fails the parser due to its length #403

san1dhya-HL opened this issue Aug 16, 2024 · 0 comments

Comments

@san1dhya-HL
Copy link

I am using the package to validate the mobile numbers entered.

A customer entered a valid south african number - +27282xxxxxxxx (example: country code - +27, mobile number length excluding code - 11), shows up as invalid. reason - length of the number. If you discard the last two digits, the phone number becomes valid.

As confirmed by the user, the number is certainly a valid number.

https://libphonenumber.appspot.com/phonenumberparser?number=+2728229492770&country=SA - link for the libphonenumber demo

Screenshot 2024-08-16 at 12 49 16
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