Color
- Name:
color - UI: Color picker
- Data type:
string
The color widget translates a color picker to a color string.
Widget options
For common options, see Common widget options.
| Name | Type | Default | Description |
|---|---|---|---|
| default | string | '' | Optional. The default value for the field |
| allow_input | boolean | false | Optional. Allows manual editing of the color input value |
| enable_alpha | boolean | false | Optional. Enables Alpha editing |
Examples
Basic
name: color
label: Color
widget: color
Kitchen Sink
name: color
label: Color
widget: color
enable_alpha: true
allow_input: true