-
Notifications
You must be signed in to change notification settings - Fork 300
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 with optional digits skips input character #648
Comments
Have the exact same issue on trying to validate an IBAN. Tested on Angular 11.0.5 with a reactive form. mask="SS00 AAAA 0000 0000 0000 0000 9999 9999 99" Also, issue does not happen when pasting value inside the input instead of typing it. |
Nothing new with this problem? |
@SlippySken We took this issue in work. We will have fixed this issue in some days. |
@ccosmincc @WESquad-spires @SlippySken Hi all . Thank you that using ngx-mask. Please try version >= 13.1.15 |
Given the following mask for a credit card which should contain 12 to 19 characters, first 12 being mandatory and the rest optional, grouped in 4 character groups, when trying to type the first character of the last optional group, it is skipped, being replaced with a space character.
Steps to reproduce:
mask="0000 0000 0000 9999 9999"
input: 1234 1234 1234 1234 1234
output: 1234 1234 1234 1234 234
expected output: 1234 1234 1234 1234 1234
The text was updated successfully, but these errors were encountered: