rili-live / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
44 stars 55 forks source link

When using custom country list, auto format not working as desired #19

Open dishitk opened 3 years ago

dishitk commented 3 years ago

I am using a custom country list that has a limited number of countries. While using auto-format prop, it does formats as per the country if the country code is in my list of countries.

When I enter a country code that is not in my list of countries, it does not allow me to delete the country code and I have to click on the flag to select a country from the picker.

I am finding solutions to restrict users from entering country codes that are not on my list or even fall to a default country from my list.

react-native-phone-input version: ^1.0.10

zizzle6717 commented 3 years ago

Please make a PR and I will test and get it published as soon as possible

therealtgd commented 1 year ago

+1 on this issue

therealtgd commented 1 year ago

Still no fix?