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

[Bug] When country code has 3 numbers it doesn't recognize on prefill #10

Closed
MagdielCAS opened this issue Mar 15, 2019 · 2 comments
Closed

Comments

@MagdielCAS
Copy link

MagdielCAS commented Mar 15, 2019

Like portugal (+351), when the prefilled number (+351345912678) has the country code of portugal the input doesn't recognize the correct code

in the example bellow the number +351345912678 was prefilled in the phone-number-input's v-model when page loaded
image

@LouisMazel
Copy link
Owner

Hi,

The component does not recognize automatically the country code. You (or the user) should set the country code with default-country-code attribute

@sombatos
Copy link

@MagdielCAS Have you found a way to set the country?

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