Ngx-mask: Erasing input when using comma/dot_separator leaves the '.' o ',' and can't be deleted

Created on 24 Sep 2019  路  6Comments  路  Source: JsDaddy/ngx-mask

Hi,

I am using dot_separator.2 and comma_separator.2 in different text fields.

I noticed that if I enter: 2222.22
Shows the correct number: 2,222.22
But then if I delete by pressing the Backspace/Delete key it leaves the '.' or ',' depending on the mask setting I am using.

Capture

The cursor stay at the beginning of the input. If I move the cursor to be after the ',' and press the backspace/delete key I get the following error:

Capture

Version: 8.0.6

bug help wanted

All 6 comments

Yep am noticing lots of strange behaviour with the demo page on the dot_seperator mask.
e.g. type 222222 will display as 222.222
Then move cursor to beginning and delete the first two numbers, value then changes to 2,222 so a comma goes in instead of a dot.

You are right, also a bug

You are right, also a bug

May be worth retesting once latest release comes out as there have been some changes around the seperator masks that might fix some of this.

@ivandres Hi, your issue will be fixed in the new mask version
@ColinMorris83 You need open another issue for bug that you noticed

@isysenko thank you!

@ColinMorris83 your issue also will be fixed in the new mask version

Was this page helpful?
0 / 5 - 0 ratings

Related issues

renanBritz picture renanBritz  路  3Comments

Wisdomb33r picture Wisdomb33r  路  3Comments

raisiqueira picture raisiqueira  路  3Comments

Et3rnal picture Et3rnal  路  4Comments

dissy123 picture dissy123  路  3Comments