The Number component
Number components let the user enter a number. Several customizations are available.
In addition to the properties listed below, this component inherits properties and methods from the superclass
Component. For example, any Number component has a
defaultValue property even though these are not explicitly listed here.
|delimiter||Whether or not to show commas as thousands-delimiters.||Boolean||True|
|decimalLimit||Maximum number of decimals the user can enter (or that are shown when the Number is filled some other way). Please note that this does not round the numbers that are entered. It only cuts off all decimals past the specified limit.||Integer||20|
|labelPosition||Position of the label with respect to the tags. Can be ||String|
|multiple||Whether or not multiple values can be entered.||Boolean||False|
|validate||This property of the Component is very useful for validating numbers:||Validate|
The Number component does not support exponential notation. In order to specify numbers in scientific notation, use a TextField component with custom validation.
- Use Validate to set things like min/max values for the Number component.