Chips

Chips #

The chips field generates a field that helps creating tags of keywords from entered strings instantly. The output value is an array with strings.

Chips

Chips

Properties #

propertyvalue typeoptionaldescription
keystringmandatoryKeys are for internal use and must be unique
titlestringoptionalThe title of the element
tipstringoptional (default: null)Text entered here with markdown formatting is displayed as context help in an overlay box
defaultarray of stringsoptional (default: null)default value when the key is not set yet

Sample #

Configuration #

./quiqr/model/base.
     
default:
- one
- two
key: sample_field
title: Sample field
type: chips
default = ["one", "two"]
key = "sample_field"
title = "Sample field"
type = "chips"
{
   "default": [
      "one",
      "two"
   ],
   "key": "sample_field",
   "title": "Sample field",
   "type": "chips"
}

Output #

sample_field:
  - one
  - three

Known issues #

When tip property is not working.