Skip to content

labels

Custom field type

All field types

Key and value pairs where the same key may repeat.

Written as
"Type": "labels"
Valid on
Template fields, Datastore schema, and custom site settings
Stores
{{ labels }} — the Liquid object a template reads from this field.
Validators
same, not, minitems, maxitems, eq, different
Default value
An object of string values, keys not unique.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Noun Singular label for one entry, used on the add button.
KeyLabel Heading above the key column.
ValueLabel Heading above the value column.