Color Picker
A specialized input component for selecting colors with a visual color picker interface. Features a popup color palette with RGB/HEX selection, color preview, and direct hex code input. Provides visual feedback by displaying the selected color next to the input field.
Extends: fieldComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Label |
| multi-locale | Display label for the color picker field |
ID |
| text | Unique identifier for the component |
Style Classes |
| text | CSS classes for styling |
Width |
| text | Controls component width |
Value |
| text | Current selected color value |
Visible |
| boolean | Controls component visibility |
Enabled |
| boolean | Controls whether component is enabled |
Field Style |
| text | Additional field styling options |
Methods
Name | Description |
|---|---|
| Handles color selection changes and triggers change events |
Events
Name | Description |
|---|---|
| Triggered when a color is selected or the color value is modified |
| Triggered when the color picker input loses focus |
| Triggered when the color picker input gains focus |