Color
The color widget translates a color picker to a color string.
- Name:
color - UI: color picker
- Data type: string
- Options:
default: accepts a string; defaults to an empty string. Sets the default valueallowInput: accepts a boolean, defaults tofalse. Allows manual editing of the color input valueenableAlpha: accepts a boolean, defaults tofalse. Enables Alpha editing
- Example:
- { label: "Color", name: "color", widget: "color" } - Example:
- {
label: "Color",
name: "color",
widget: "color",
enableAlpha: true,
allowInput: true,
}