NumberInput
Overview
When to use
t.b.d.
When to consider an alternative
t.b.d.
Component
Default
States
onChange
Properties
Default
Property | Type | Required | Default |
---|---|---|---|
utilClassNames | String | false | - |
children | Node | false | - |
componentRef | Shape {
"current": "Any"
} | false | - |
value | Union Number │ String | false | - |
defaultValue | Union Number │ String | false | [Empty String] |
min | Number | false | Number.NEGATIVE_INFINITY |
max | Number | false | Number.POSITIVE_INFINITY |
step | Number | false | 1 |
unit | String | false | - |
onChange | Func | false | - |
disabled | Bool | false | - |
error | Bool | false | - |
decimalFormat | Enum 'comma' │ 'point' | false | point |
decimalPlaces | Number | false | 0 |