Limiting the integer input field
2092
Views
3
Comments
New
OutSystems UI

Hi team,

As for the text input field where we can set the max length , can same be incorporated for integer input field also.

Hi Rakshitha,

Why do you think that would be useful? What are you trying to achieve?


Regards.

Hi @Ricardo Reis 

for example the above field you want to restrict to 3 digits , in that, it would be useful.

Ok, I see what you mean.

After a quick Google search, I found this post that explains how you can limit the number of digits an input of the type "number" supports: https://stackoverflow.com/questions/8354975/how-can-i-set-max-length-in-an-html5-input-type-number-element

In OutSystems, you would just need to add an Extended Property called "max" and its value set to 999, and that would do what you need.

Hope it helps.


Regards.