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

How to get the country code #121

Closed
hsouiri97 opened this issue Aug 10, 2019 · 1 comment
Closed

How to get the country code #121

hsouiri97 opened this issue Aug 10, 2019 · 1 comment

Comments

@hsouiri97
Copy link

after adding v-model to the component it seems that it only give you the phone number without formatting it with the country code. is there anyway to achieve that?

@iamstevendao
Copy link
Owner

iamstevendao commented Aug 13, 2019

It's achievable in v.3.1.1 by setting prop mode: 'international', in this case, the phone number will always be converted to +123 123 123...

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

2 participants