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

Caret position #9

Closed
shrpne opened this issue Jul 4, 2017 · 1 comment
Closed

Caret position #9

shrpne opened this issue Jul 4, 2017 · 1 comment

Comments

@shrpne
Copy link

shrpne commented Jul 4, 2017

In US phone example: +1 (###) ###-####
If I start to type 1 in a clear input, visible value becomes +1. But caret sets after + and before 1.
If next I type 9, visible input becomes +1(91

So typing 19 in clear input leads to+1(91, I think it should lead to +1(9

neves added a commit that referenced this issue Jul 19, 2017
@neves
Copy link
Member

neves commented Jul 19, 2017

Fixed at https://github.com/vuejs-tips/vue-the-mask/tree/v0.10.0
Thanks for reporting!

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