NumberInput
In non-string templates,it is necessary to use h-numberinput.
Basic
Maximum and minimum value
Use control
Step
Disabled
NumberInput Property
| Property |
Description |
Type |
Optional |
Default |
| disabled |
disabled |
Boolean |
- |
false |
| min |
min value |
Number |
- |
- |
| max |
max value |
Number |
- |
- |
| step |
Increase or decrease the value of each click |
Number |
- |
1 |
| useInt |
only enter an integer |
Boolean |
- |
false |
| useOperate |
Whether to use plus or minus buttons |
Boolean |
- |
false |
| precision |
Keep a few decimal places |
Number |
- |
- |
NumberInput Event
| 参数 |
说明 |
| input |
When data changes |
| change |
When data changes blur |