[Custom Masks] Percentage with 3 decimals is set to 100%

[Custom Masks] Percentage with 3 decimals is set to 100%

  
Forge Component
(24)
Published on 19 Sep by Marcelo Ferreira
24 votes
Published on 19 Sep by Marcelo Ferreira

Hi,

When I use the percentage mask with 3 digits (12,345 comma as decimal separator), after pressing the submit button, the value changes to 100%. When I use 4 or more digets (12,3456), it doesn't chage. How can I solve this problem?

BTW, useing more than 2 digets was only posible after adding "digits: decimalDigits" to the javascriptscript of "MaskPercentage".

Raymond