Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dishitk opened this issue Aug 11, 2021 · 3 comments
Open

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

dishitk opened this issue Aug 11, 2021 · 3 comments

Comments

@dishitk
Copy link

dishitk commented Aug 11, 2021

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
Copy link

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

@therealtgd
Copy link

+1 on this issue

@therealtgd
Copy link

Still no fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants