Open AndrinGautschi opened 7 years ago
I had a similar issue with 'en-IN'. It was fixed by using 'IN' instead of 'en-IN'. Apparently, country metadata inside libphonenumber-js expects it in this format.
@baljeet I already did that and it worked but the resulting validation was crappy. It didn't check for chars like 'A' or 'W' and the phone number was valid after a certain amount of characters.
Validation of a 'ch-DE' phone number isn't working with current version 4.2.0. It fails after three digits.
Workaround is setting version back to 3.9.1