ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Not possible to use backspace on first separator

Open irudji opened this issue 7 months ago • 0 comments

Description

I have found bug which occur when using separator mask with different decimal marker than dot.

For example:

When you enter to text input this number

1 234 567,89

then when you place cursor before number 5 and press backspace, then cursor jumps one place left behind the number 4. It is OK for me. But when you place cursor before the number 2 and press backspace then nothing happens and cursor stay on the same place. I think that it should jump one place left behind the number 1.

And anyway it happens in case, that number is 1 234 456 789,14. But it happens only in place of first separator. All others are ok.

I found that this is relevant for all newer versions of ngx-mask from version 13.2.2

irudji avatar Jun 26 '24 18:06 irudji