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

Number Validation: Adding letters = still valid #39

Closed
pythonios opened this issue May 7, 2014 · 1 comment
Closed

Number Validation: Adding letters = still valid #39

pythonios opened this issue May 7, 2014 · 1 comment

Comments

@pythonios
Copy link

I'm not sure if the issue is regarding Google's libphonenumber or not. But when I fill in a valid number and add at the end like "ss" the number still shows as valid. If i replace the "ss" with a number like "11" it shows als not valid.

Valid number:
image

Added two letters - still valid:
image

Added three letters - invalid:
image

Replaced the letters with numbers - invalid:
image

I've tested it on the example (http://jackocnr.com/lib/intl-tel-input/examples/gen/validation.html)

@pythonios
Copy link
Author

Actually I found the issue on libphonenumbers side and it looks like its an intended "feature".

"I take your point about trying to allow for the various prefix and suffixes that could get included in the string. I think this sounds like a useful feature so I would not suggest changing it."

https://code.google.com/p/libphonenumber/issues/detail?id=328

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