Skip to Content
0
Sep 26, 2019 at 06:08 PM

Number formatting with constraints

547 Views

I'm having a difficult time finding examples of simple, basic logic with SAP UI5, and one example is trying to do some simple number formatting with constraints.

The user input should be between 0 and 100, no decimals, no commas, no text.

How can I accomplish this simple task? MaskInput restricts to three digits, but it allows greater than 100. I thought there was a constraint aggregate to allow minimum and maximums?

Any help is appreciated.

Thanks