Skip to content

dictionary

Custom field type

All field types

Key and value pairs an editor can add to, with unique keys.

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