Hi,
I have a table in my OutSystems Reactive application, where one of the columns is an editable input field and another is just an expression, both of type number. They hold values that are stored in one of my data entities, which are both Integers. I want both columns's values to be displayed with a comma separator for the thousands, for better visibility. I have looked for some type of formatting but did not find anything for integers.
I have also tested changing one of the data entity's columns to Currency. For the expression one, it can be formatted with a comma separator. However, for the input, it can only be of type 'Number', so I tried using the Input Masks Reactive component, but it still doesn't show the comma separator, even with the configurations below.
Currency Input configuration:
InputMaskReactive configuration:
Do you have any other suggestions, or know what I'm doing wrong here?
Thank you.
I was able to achieve this with a forge component "Input Masks Library", just by doing this:
Check this oml if you have any doubts.
Let me know if this helps,
Pedro
Hi Pedro,
Thanks for the suggestion. I've used the component's NumberMask functionality instead and the input is now showing the comma to separate the thousands, which is good. However, I'm not able to save this value to the DB because the field remains non-editable.
When I first access the page, it throws this error:
NumberMask configuration:
I found this discussion below that highlights the issue, but I wasn't able to find the action that was mentioned in the temporary solution:https://www.outsystems.com/forums/discussion/34378/cannot-read-property-classlist-of-null/