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

Format the number on create when is not formatted correctly #98

Closed
Hydrog3n opened this issue Jun 13, 2019 · 4 comments
Closed

Format the number on create when is not formatted correctly #98

Hydrog3n opened this issue Jun 13, 2019 · 4 comments

Comments

@Hydrog3n
Copy link

When I set a v-model and the phone number is not formatted correctly. It still not format until i change a number

@iamstevendao
Copy link
Owner

@Hydrog3n, would you mind reproducing it in the Playground?

@Hydrog3n
Copy link
Author

@iamstevendao Yes this exemple doen't format the number until you change a number
https://codesandbox.io/s/vue-template-rrx1o

@iamstevendao
Copy link
Owner

iamstevendao commented Aug 13, 2019

@Hydrog3n, It should be fixed in v3.1.1. Now you also have the option to convert it to national or international mode. Here is the sample in 'international' mode: https://jsfiddle.net/iamstevendao/6dyop3h7/

@Hydrog3n
Copy link
Author

Hello @iamstevendao Thank you for the fix and the feature :)

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