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

phoneRegionCode only works for US #662

Open
BurN-SN opened this issue Jun 21, 2021 · 2 comments
Open

phoneRegionCode only works for US #662

BurN-SN opened this issue Jun 21, 2021 · 2 comments

Comments

@BurN-SN
Copy link

BurN-SN commented Jun 21, 2021

I cannot seem to make my regionCodes work correctly. I understand the formatting is dependent on inputting a valid area code for the region. I have tried inputting two numbers (my US number and my German number, so that I know both are valid). The US region code seems to work as expected. German formatting does not and allows unlimited entry.

Solutions I have tried:

  • Including/excluding .js in the import line.
  • Changing case of phoneRegionCode (us, US, de, DE)
  • adding/removing unused import (using JUST cleave-phone.de for DE phoneRegionCode and vice-versa for US)
  • changing order to see if second import "overrides" first import.

None of these solutions has worked.

Here is a CodeSandbox
Sorry to use CodeSandbox; I don't know how to import in jsfiddle.

Thanks!

@Gjbf677
Copy link

Gjbf677 commented Jul 30, 2022

5326110575294213

@rolinger
Copy link

@Gjbf677 - whats your game here? This is the 2nd or 3rd post you have done like this.

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