Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Change event fired even no value entered in decimal masked input

Open newmangreen opened this issue 6 months ago • 1 comments

When click a decimal masked input and leave it without entering any value, mask fires "change" event. Other masks like date mask doesn't do this. This causes unnecessary change handler code execution.

Can be seen with demo page;

Image

newmangreen avatar Jun 18 '25 07:06 newmangreen

In my usage, I found the root cause of this problem. Here, isRTL return true for numeric input and reverses value string and "o" becomes "00,0" and different with current "0,00" value(Comma position is different).

Image

Image

newmangreen avatar Jun 19 '25 09:06 newmangreen

@newmangreen ,

Fixed in version 5.0.10-beta.48

RobinHerbots avatar Jul 03 '25 11:07 RobinHerbots