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

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

  
Forge Component
(25)
Published on 14 Nov (4 weeks ago) by Caio Santana Magalhães
25 votes
Published on 14 Nov (4 weeks ago) by Caio Santana Magalhães

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