Color picker

A field to select a color. The color picker supports HEX and RGB color formats, as well as allows alpha channel. The color picker represents a swatch to pick up and edit color values.



setValue(value: string)

sets data for the component

setDisabled(disabled: boolean)

enables or disables the component


resets the component to the initial value


triggers component's validation


resets the validation


sets focus on the component

setRequired (required: boolean)

sets component's required state


Triggers allow you to launch certain actions upon different events.

On Init

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

On Change

Calls for an action on the component's state change

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