[CustomMasks] Keep Decimal Digits - Outsystems 10

[CustomMasks] Keep Decimal Digits - Outsystems 10

  
Forge Component
(17)
Published on 1 Aug (3 weeks ago) by Jogait
17 votes
Published on 1 Aug (3 weeks ago) by Jogait

I'm using "Custom Masks" on my project, but I can't keep the 2 decimal digits on currency inputs, I've already set as "2" on "DecimalDigits" setting

Hello Saulo.

Try changing the input type from Number to Text. It may solve the problem.

I've alread set as Text, but no decimal showing when 199,00 comma as decimal separator

Which platform version are you using? I have a similar case implemented and works fine.

Share your OML if you can, so we can help you better.

André Siébra wrote:

Which platform version are you using? I have a similar case implemented and works fine.

Share your OML if you can, so we can help you better.

Oml shared


Saulo,

I've tested in my envinroment and everything is working fine. I can type only 2 digits after the decimal separator. When input lost focus, the mask keeps the decimal digits in the currency input.

Tested in Firefox with the most recent CustomMask component version.

In my enviroment I get something like this