English
FxInputNumber
About 169 wordsLess than 1 minute
2025-12-16
Allows only standard numeric input and supports defining ranges.
Parameters
| Parameter | Description | Type | Optional Values | Default |
|---|---|---|---|---|
| value / v-model | Bound value | number | — | 0 |
| min | Minimum allowed value | number | — | -Infinity |
| max | Maximum allowed value | number | — | Infinity |
| step | Step value | number | — | 1 |
| step-strictly | Whether only multiples of step can be entered | number | — | false |
| precision | Numeric precision | number | — | — |
| size | Input size | string | large, small | — |
| disabled | Whether disabled | boolean | — | false |
| controls | Whether to use control buttons | boolean | — | true |
| controls-position | Position of control buttons | string | right | - |
| name | Native attribute | string | — | — |
| label | Label text associated with the input | string | — | — |
| placeholder | Default placeholder of the input | string | - | - |
Events
| Event Name | Description | Callback Parameters |
|---|---|---|
| change | Triggered when the bound value changes | currentValue, oldValue |
| blur | Triggered when the Input loses focus | (event: Event) |
| focus | Triggered when the Input gains focus | (event: Event) |
Methods
| Method Name | Description | Parameters |
|---|---|---|
| focus | Focus the input | - |
| select | Select the text in the input | — |
