Identifies the element (or elements) that describes the object.
Boolean if the text field should gain the error state and update the colors.
The id for the text field. This is required for accessibility.
An optional max value for the number field.
An optional min value for the number field.
An optional addon to apply to the right of the text field. This should be a clickable button such as a password field toggle or a reset button for the field.
An optional step amount to use.
Note: The min
and max
values must be divisible by this value when any
are defined.
The current theme type.
Always set the TextField
type to number
.
The value to use for the text field. This will make the component
controlled and require the onChange
prop to be provided as well otherwise
this will act as a read only text field.
Generated using TypeDoc
@since 2.5.0