Ngx-mask: Cursor error when use optional value (like 9 instead 0) for numbers

Created on 17 Mar 2020  路  3Comments  路  Source: JsDaddy/ngx-mask

Hi, i'm trying to set my input with this mask: (00) 90000-0000, but the cursor jump to another position and repeat some characters.

That's my example: https://stackblitz.com/edit/angular-yjyq4q

All 3 comments

same here

last version 8.1.7

same here with version [email protected]. I'm using a mask like "S9-0999" and after typing the first char the cursor jump after the "-" char.
is there a way to avoid this ?

I have a similar problem. My mask is : '00 00 00 99 99 99 99 99 99 99' and number and spaces are in the wrong positions. Did anyone have the same problem? My version is 8.2.0 but I also tested it on the latest version (9.0.2).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

mnagaev picture mnagaev  路  3Comments

TimWarp picture TimWarp  路  4Comments

dissy123 picture dissy123  路  3Comments

Et3rnal picture Et3rnal  路  4Comments