Restrictions
You can use the configuration options of the NumericTextBox to control the user input.
The NumericTextBox allows you to:
Fraction Length
The NumericTextBox allows you to specify the number of digits after the decimal separator which can be entered by the user by setting the decimals property. By default, the user input is not restricted.
Value Ranges
You can control the value ranges by providing values for the min, max, and autoCorrect properties of the NumericTextBox. When min
, max
, and autoCorrect
are set, the component cannot hold a value that is greater than max
and smaller than min
.