Color #

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

Color picker popup

Color picker popup

Properties #

propertyvalue typeoptionaldescription
keystringmandatoryKeys are for internal use and must be unique
titlestringoptionalThe title of the element
autoSavebooleanoptional (default: false)Form data is automatically saved after changing the value
tipstringoptional (default: null)Text entered here with markdown formatting is displayed as context help in an overlay box

Sample #

Configuration #

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