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

mask not working with ctrl a + ctrl v #547

Open
phantom3200 opened this issue Mar 6, 2022 · 2 comments
Open

mask not working with ctrl a + ctrl v #547

phantom3200 opened this issue Mar 6, 2022 · 2 comments

Comments

@phantom3200
Copy link

V-Mask and Vue versions

1.3.1, 2.6

Steps to reproduce

  1. At library's author codesandbox (https://codesandbox.io/s/m3q1m5yp9x), try to enter phone number (ex. 9111111111) into "phone number" field. Mask is working great. But if you try to do the same with with ctrl + a, mask is not working. (https://yadi.sk/i/PM5HxtK3dRHdyA - video demonstration of this bug).
    Is there any ideas how to deal with it?
@baartho
Copy link

baartho commented Jul 21, 2022

I was able to simulate the same issue.

My steps:

0 - CTRL +C the value: 9111111111
1 - enter the phone number 9111111111
1.1 - As a result you'll see the masked phone number
2 - CTRL+A to select the current masked number. CTRL + V to paste from step 0
3 - Press TAB

You'll see the value 9111111111 without a mask

@agusamirudin25
Copy link

same issue

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