Text input
Last updated
Last updated
© 2024 UI Bakery
setValue(value: string)
sets value for the text input
setDisabled(disabled: boolean)
sets input's state (enabled/ disabled)
reset()
resets text input to the initial value
validate()
triggers input's validation
focus()
sets focus on the component
resetValidation()
clears validation errors
On Change
Calls for an action when the state of the text input changes
On Init
Calls for an action on component initialization
On Enter
Calls for an action on Enter click
On Focus
Calls for an action on component's focus
On Blur
Calls for an action on component's blur