32
Views
4
Comments
[Input Mask Reactive] Error "Decimal expected!" on save
input-mask-reactive
Reactive icon
Forge asset by Steven Decock
Application Type
Reactive

I used the InputMaskReactive for decimal fields but with the current ServiceStudio version 11.54.33 / Build 62940 the field cannot be saved because the input is Text. Then I tried to see if the same error occur with the demo app: InputMaskReactiveDemo:

I opened in the browser and fill a value in the Decimal number field:

When I choose the button "Switch currency prefix" I got this:

Same when I save the record within my app where I use an entity field of type Decimal and the Input type is "Text"

2020-03-12 15-06-24
Steven Decock

Hi,

I can't seem to reproduce this error.

I just tried it on my personal environment:

https://steven-decock.outsystemscloud.com/InputMaskReactiveDemo/InputMaskDemo?_ts=638363273226683797

I did refresh the OutSystemsUI dependency in both InputMaskReactive and the Demo (to v2.17.0).

Can you reproduce the error in the demo on my personal environment?

I also updated the demo a little to also add an example of a Decimal input without the radix replacement, to better support copy-pasting decimal values that have thousands separators.

2020-03-12 15-06-24
Steven Decock

Forgot to mention: I am on the same Service Studio version, but with a slightly higher build number (62959).

If you have an OML demonstrating the issue that would be heplful.

Kind regards,

Steven

UserImage.jpg
Cosmin Nicolae Cristea

Hi,

Thank you for the quick reaction.

I prepared a small example (TestInputMask.oml). Just fill in something in the Net Profit input and save. I got this:

TestInputMask.oml
UserImage.jpg
Cosmin Nicolae Cristea

Hello Steven,

Did you have the chance to check my example? Can you reproduce it?

Kind regards,

Cosmin

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