Editable string

Methods

Method
Description

setValue(value: string)

Sets component value

setDisabled(disabled : boolean)

Disables or enables the component

reset()

Resets component to the initial value

focus()

Sets focus on the component

validate()

Triggers component validation

resetValidation()

Clears validation errors

setErrors(errors: string | string [] | null)

Marks the component as invalid and displays errors

setRequired(required: boolean)

Sets component required state

Triggers

Triggers allow you to launch certain actions based on different events.

On Change

Calls for action on the component's state change

On Init

Calls for action on component initialization, e.g., page refresh

On Submit

Calls for action on component's submit

On Open Editing

Calls for action when Edit mode is ON

On Close Editing

Calls for action when Edit mode is OFF

Last updated

Was this helpful?