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 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.
The current theme type.
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
All the props that will be generated and returned by the
useTextField
hook that should be passed to aTextField
component.@since 2.5.0