alexplumb / material-ui-phone-number

Fork of react-phone-input-2 for the Material-UI library
MIT License
121 stars 180 forks source link

Not taking in valid Argentina numbers #109

Open umakantmanu opened 2 years ago

umakantmanu commented 2 years ago

Below is the valid Argentine mobile number:

+54 91123017883

That 9 after +54 is the prefix introduced in 2003 which isn't considered here. Reference: http://www.wtng.info/wtng-54-ar.html

Based on two other repos it was formed from:- this works fine with: https://catamphetamine.gitlab.io/react-phone-number-input/ but not with: https://bl00mber.github.io/react-phone-input-2.html

leolozes commented 2 years ago

The problem i have is that I can't write a complete Argentinian number, it only allows me to introduce 10 characters when I need 11.

For example: +54 9 1234 56-7890