Comment on page
Email input
A field to input an email address. The email input supports the validation of the required field and regular expression patterns.
Method | Description |
---|---|
setValue(value: string) | sets value for the input |
setDisabled(disabled: boolean) | sets input's state (enabled/ disabled) |
reset() | resets input to the initial value |
validate() | triggers input's validation |
focus() | sets focus on the component |
resetValidation() | clears validation errors |
Triggers allow you to launch certain actions upon different events.
On Change | Calls for an action when the state of the 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 |
Last modified 1mo ago