Array Structures reference

Each key under the key _array_structures will have the following options:

style - String (modal or select)

Defines whether the items are shown to your editors in a select menu (select, default) or a modal pop up window (modal).

id_key - String

Defines what key should be used to detect which array structure an item is. If this key is not found in the array item, a comparison of key names is used (default _type).

values - Array

Defines what values are available when the add button is clicked. See reference below for available options.

Each array item in values will have the following options:

label - String

Used in the array interface to display what kind of items editors can add.

description - String

Used in the array interface as subtext to describe the items editors can add.

icon - String (Material Design icon name)

An icon used when displaying the array structure (default multiline).

image - String

Path to an image in your source files to be used when displaying the array structure.

image_size - String (cover, contain, or padded)

Defines how the image is displayed within its containing box.

tags - Array

Used to group and filter items when selecting from a modal.

value - Object

The actual value used when items are added after selection

Was this article helpful? or Suggest an improvement >

Related articles