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.
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