is-numeric-text-box
A text box where only numeric values are allowed. The component also contains two additional buttons with which you can increase or decrease the value.
Property |
Description |
required |
Example |
min |
The lowest value that may be in the text box. |
|
"min": 0 |
max |
The highest value that may be in the text box. |
|
"max": 365 |
spinners |
Here you can specify whether the two buttons on the right, with which the value can be edited, should be visible. If this property is not set, they are displayed. |
|
"spinners": true |
format |
Here you can edit the display of the value. |
|
"format": "0.0" |
decimals |
Enter the number of decimal places after the decimal point. |
|
"decimals": 1 |
modelUnity |
If there is to be something else behind the text box, you can enter what here. If no value is given, there is nothing behind the text box. Translations can also be entered here. |
|
"modelUnity": "entity.GlobalCurrInt" |
focus |
If the focus should be on this field when loading the page, this property must be set to true.
Please ensure that the property "focus" is only set to true for one component, otherwise the last component rendered will receive the focus if several have this property. |
|
"focus": true |