Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextFieldHookState

remarks

@since 2.5.0

Hierarchy

  • TextFieldHookState

Index

Properties

error: boolean

Boolean if the TextField or TextArea are in an errored state.

Note: This can be true while the errorMessage is an empty string since it's sometimes useful to show there's an error while the user is typing without reporting the full error message.

errorMessage: string

The current error message that will be an empty string when there are no errors for the TextField or TextArea component or the message is hidden during change events.

value: string

The current value for the TextField or TextArea.

Generated using TypeDoc