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

UK phone number does not show flag. #380

Open
hachi-studio opened this issue Aug 7, 2020 · 2 comments
Open

UK phone number does not show flag. #380

hachi-studio opened this issue Aug 7, 2020 · 2 comments

Comments

@hachi-studio
Copy link

hachi-studio commented Aug 7, 2020

Describe the bug
UK numbers do not appear when entering a phone number tries to show 'Guernsey' country flag instead, which does not exist in the flags, also should not overide the UK flag.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to https://github.com/mukeshsoni/react-telephone-input
  2. Type +44
  3. Anything else you enter after makes the flag disappear, view source and the class is 'flag gg'

Expected behaviour
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac
  • Browser Chome
@Kyxey
Copy link

Kyxey commented Aug 20, 2020

It somehow mistakes UK with Guernsey as they both have same country prefix. When you change the country by selecting the flag it gets fixed. Weird behavior.

@cpdwyer
Copy link

cpdwyer commented Dec 24, 2020

I am experiencing the same issue. Setting a initial value with +44xx... it will default to Guernsey. When typing +44 will show it as 'gb' then adding another number +44x will then switch it to Guernsey.

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