RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.4k stars 2.17k forks source link

Decimal mask problem #1467

Open Pla2 opened 7 years ago

Pla2 commented 7 years ago

Hello, I upgrade Inputmask from version 3.3.1 to 3.3.4-128 and I have a problem with decimal mask. I set radixPoint: ',' and groupSeparator:'.', the problem is that when I set an invariant value, it set an incorrect value, for example if I put 9.11, inputMask set 911.00, in the other hand if I put a cultured value, for example "9,11", it set "9,11" (this is correct). In version 3.3.1 if I do the same it set correct value.

I create two jsfiddle one with versión 3.3.1 and other with 3.3.4-128 that show this behaviour.

Thanks a lot!

penihel commented 7 years ago

Hi. I think this is related #1477

But in my case, i use de "format" method.

I'm investigating yet.