[Custom Input Masks] Keep Decimal Digits - Outsystems 10
Question
Forge component by Sara Gonçalves

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

mvp_badge
MVP

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


Administracao.oml

mvp_badge
MVP

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 


Hi everyone,


Any updates on this?


Thank you and kind regards,

Chris

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.