NumberPicker
Container properties
All component configurations support Container properties at the first level.
Special container properties props
NumberPicker supports validation container properties other than public container properties
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | The className of the component | |
| style | object | The style of the component | ||
| min | number | minimum value | ||
| max | number | maximum value | ||
| step | number | 1 | Each time you change the number of steps, it can be a decimal | |
| precision | number | Numerical accuracy | ||
| formatOptions | { currency: string } | All properties of Intl.NumberFormat |
All the remaining componentsProps will be passed to the component root element (InputNumber).
validation
| Name | Type | Default | Description |
|---|---|---|---|
| required | bool | false | required |
| minValue | number | Min | |
| maxValue | bool | Maximum |
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | Component root DOM element |