A component that allows a Toloker to enter a number.
Only numbers and decimal separators can be entered in the field. A Toloker can enter a dot or a comma as a separator, but the dot is always used in the output.
When a Toloker enters a number, the separator automatically changes to the one specified in the regional settings. In some countries, the decimal separator is a comma.
You can also set up validation, for example, disable negative or fractional numbers. Learn more.
View exampleName | Type | Description |
---|---|---|
type * | "field.number" | Set component type. |
data * | writable | Data with values that will be processed or changed. Learn more about working with data. |
label | string | Label above the component. |
hint | string | Hint text. |
maximum | integer | Maximum number that can be entered. |
minimum | integer | Minimum number that can be entered. |
placeholder | string | A semi-transparent label that is shown in the box when it is empty. |
validation | condition | Validation based on condition. |
Last updated: August 21, 2023