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

Changing the input changes the flag as well. #152

Open
ManthanCedric opened this issue Jan 2, 2024 · 0 comments
Open

Changing the input changes the flag as well. #152

ManthanCedric opened this issue Jan 2, 2024 · 0 comments

Comments

@ManthanCedric
Copy link

When I type a number with defaultCountry={'ca'} (Country code: +1), the flag changes to the USA (Country code: +1).

Before typing
image

After typing number:
image

There might be a mechanism to auto-detect the country code based on the number. How can I prevent this from happening if I have already selected the country?

Note: When I select Canada from the country code selection, it locks the country code, and it displays the Canadian country code while typing.

image

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

1 participant