Closed kasium closed 2 years ago
parsePhoneNumberFromString('a123321312321', 'DE')
isValid returns true
isValid should return false. The demo also returns true.
Google returns this result: https://libphonenumber.appspot.com/phonenumberparser?number=a123321312321&country=DE&geocodingLocale=de-DE. Seems like isValidNumber returns false.
Number is valid.
What did you mean by that
Sorry, corrected. Meant that isValid returns true
https://github.com/catamphetamine/libphonenumber-js#isvalid-boolean
Thanks. I was not aware of that!
Steps to reproduce
Observed result
isValid returns true
Expected result
isValid should return false. The demo also returns true.
Google's demo link
Google returns this result: https://libphonenumber.appspot.com/phonenumberparser?number=a123321312321&country=DE&geocodingLocale=de-DE. Seems like isValidNumber returns false.