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) Wrong invalid Phone Number #184

Open
dianamoreno opened this issue Feb 28, 2022 · 0 comments
Open

(BUG) Wrong invalid Phone Number #184

dianamoreno opened this issue Feb 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dianamoreno
Copy link

dianamoreno commented Feb 28, 2022

Describe the bug

Hi, first all thanks for this amazing component. My issue is happening when I tested a valid phone number for Colombia Country local phone numbers, I am getting an "isValid equals to false" on the returned data in the payload but if I check the same phone number using the isValidPhoneNumber from 'libphonenumber-js', the library is responding with a Valid number.

Steps to reproduce

  1. Select Colombia Country and type the next valid phone number: 6076998899
  2. The payload is showing isValid equals to false

Expected behavior

"isValid equals to true" on the returned data in the payload

Screenshots

Bug with component:

image

Response using isValidPhoneNumber from 'libphonenumber-js'
image

@dianamoreno dianamoreno added the bug Something isn't working label Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant