Color #
The color field generates a colorpicker for entering color hex codes.

Color picker popup
Properties #
| property | value type | optional | description |
|---|---|---|---|
| key | string | mandatory | Keys are for internal use and must be unique |
| title | string | optional | The title of the element |
| autoSave | boolean | optional (default: false) | Form data is automatically saved after changing the value |
| tip | string | optional (default: null) | Text entered here with markdown formatting is displayed as context help in an overlay box |
Sample #
Configuration #
./quiqr/model/base.
key: sample_field
title: Sample field
type: color
key = "sample_field"
title = "Sample field"
type = "color"
{
"key": "sample_field",
"title": "Sample field",
"type": "color"
}
Output #
sample_field: #ccee00