name
string
Component name
value
string | null
Current value of the component
valid
boolean
Indicates whether the component is valid
disabled
Indicates whether the component is disabled
validating
Indicates if the component is validating
setValue
value: string
void
Set component value
setDisabled
disabled: boolean
Disable or enable the component
click
β
Trigger click event
reset
Reset component to the initial value
focus
Set focus on the component
validate
Trigger form validation
resetValidation
Clear validation errors
setErrors
errors: string |
string[] | null
Mark the component as invalid and display errors
setRequired
required: boolean
Set component required state
On Change
Triggered when the component's state changes
On Init
Triggered when the component is initialized
On Submit
Triggered on component's submit
On Open Editing
Triggered when Edit mode is ON
On Close Editing
Triggered when Edit mode is OFF
On Link Click
Triggered when the link is clicked
Last updated 4 months ago
Was this helpful?