A field to input an email address. The component supports required field validation and regular expression patterns.
name
string
Component name
value
Current component value
valid
boolean
Indicates if the component is valid
validating
Indicates if the component is validating
disabled
Indicates whether the component is disabled
setValue
value: string
void
Set component value
setDisabled
disabled: boolean
Disable or enable the component
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 Enter
Triggered when the Enter key is pressed
On Focus
Triggered when the component is in focus
On Blur
Triggered when the component loses focus
On Init
Triggered when the component is initialized
Last updated 4 months ago
Was this helpful?