You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Enter a phone number in the phone number field with mask '(###) ###-####
Highlight three characters in area code part of phone number.
Change highlighted text eg. enter 123
First two characters are replaced, but cursor moves to the end of the field and last character does not get entered.
This seems to happen when there is a special character in the mask. eg. ()-. I found that this also happenened on
What is Expected?
When you highlight any number of characters(numbers) and you begin typing, the numbers(characters) should be deleted and the new values should replace the old values...
What is actually happening?
First two characters get changed and cursor move to the end of field and last character does not get entered..
The text was updated successfully, but these errors were encountered:
V-Mask and Vue versions
2.3.0
Reproduction Link
https://codesandbox.io/s/m3q1m5yp9x
Steps to reproduce
Enter a phone number in the phone number field with mask '(###) ###-####
![image](https://user-images.githubusercontent.com/107890689/191730023-2fc3c5e7-ee29-4703-bd74-bea0d6e013c0.png)
Highlight three characters in area code part of phone number.
![image](https://user-images.githubusercontent.com/107890689/191730361-96f5db7c-b193-47cd-99cd-c4e2850bb655.png)
Change highlighted text eg. enter 123
First two characters are replaced, but cursor moves to the end of the field and last character does not get entered.
![image](https://user-images.githubusercontent.com/107890689/191732977-58219339-5505-4c09-b375-1f9747b3398b.png)
This seems to happen when there is a special character in the mask. eg. ()-. I found that this also happenened on
What is Expected?
When you highlight any number of characters(numbers) and you begin typing, the numbers(characters) should be deleted and the new values should replace the old values...
What is actually happening?
First two characters get changed and cursor move to the end of field and last character does not get entered..
The text was updated successfully, but these errors were encountered: