natintosh / intl_phone_number_input

MIT License
164 stars 496 forks source link

maxLength depends on the countryCode #342

Open webasoo opened 2 years ago

webasoo commented 2 years ago

"maxLength" is static now. and users can type chars more than valid phone.

depends country code, change max length or define a method that return length of phone in target country.

talh11111111111 commented 1 year ago

hei bro; did you solve this problem ? if yes please tell me, thanks

webasoo commented 1 year ago

hei bro; did you solve this problem ? if yes please tell me, thanks

hi, unfortunately no!

ggudimenko commented 1 year ago

I'm also waiting for a solution to this problem.