Text input
Text input is an input field for a single line of text. Text input can validate the required field, minimum or maximum length, and regular expression patterns.
Methods
Method | Description |
---|---|
| sets value for the text input |
| sets input's state (enabled/ disabled) |
| resets text input to the initial value |
| triggers input's validation |
| sets focus on the component |
| clears validation errors |
Triggers
Triggers allow you to launch certain actions based on different events.
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 |
Last updated