InputNumber
Numeric input with stepper buttons, min/max, step, and precision.
Basic usage
With precision and step
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
value | InputNumberValue | null | — |
label | string | "" | — |
placeholder | string | "" | — |
disabled | boolean | false | — |
readonly | boolean | false | — |
bordered | boolean | true | — |
min | union | null | — |
max | union | null | — |
step | number | 1 | — |
precision | union | null | — |
controls | boolean | true | — |
assistiveText | string | "" | — |
alertMessage | string | "" | — |
state | DataEntryState | "default" | — |
size | EpSize | undefined | — |
Events
| Event | Payload | Description |
|---|---|---|
update:value | {"names":["InputNumberValue"]} | — |
change | {"names":["InputNumberValue"]} | — |
enter | {"names":["InputNumberValue"]} | — |
focus | {"names":["FocusEvent"]} | — |
blur | {"names":["FocusEvent"]} | — |
Slots
This component has no named slots.
