350
Views
5
Comments
Input Mask Currency
Question
Application Type
Reactive

Hi Team,

I have been using Input Mask library for masking the currency in Input field while typing, In this case when I try to hover the Input field where the Input mask applied it returns default value of 0 and also in onfocus of that Input field. I have tried removing the placeholder or setting the value to empty via JS but it doesn't have any impact. If there is any method to achieve this please do advice. Thanks!

https://www.outsystems.com/forge/component-overview/2258/input-masks-library

2021-06-01 05-56-33
Komal Kumbhar

Hi,

Have you tried to assign default value -1 to the input field where you used input mask?

I tried that and it works for me,

Regards,

Komal

2022-01-13 08-29-52
Saravanan Santhanam

Hi komal,

Are you saying that we need to give the default value as -1 to the local variable assigned to that input?

2022-01-13 08-29-52
Saravanan Santhanam

Tried that method still same issue, can you provide any example how you achieved ?

2018-12-10 12-16-21
Goncalo Duarte Almeida

Hi @Saravanan S 

Check here if this fits for your use case: https://galmeida.outsystemscloud.com/Masktest/Home?_ts=637556419445083183

You can also check the implementation in the oml.

Regards

Gonçalo Almeida

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