Numbers
The number inputs let the user provide a number.
Decimal
Decimal input lets the end user type only decimal numbers.
The return type is not guaranteed to be of type BigDecimal. Therefore, always cast to BigDecimal when you read the input value:
Integer
Integer input lets the end user type only integers.
Minimum and Maximum Values
You can restrict the set of values that the end user can provide to the input by using the setFrom()
and setTo()
methods.
Found an issue in documentation? Write to us.