arrayItemLabel
arrayItemLabel(
field):string
Defined in: packages/core/src/fields/array/utils.ts:15
The singular label for one item of an array — its items field’s own
label (“Grid Item”), falling back to DEFAULT_ARRAY_ITEM_LABEL. The
array’s own label (“Grid Items”) is the plural.
Parameters
Section titled “Parameters”{ label: string; }
items.label
Section titled “items.label”string
Returns
Section titled “Returns”string
The item’s own label, or DEFAULT_ARRAY_ITEM_LABEL if unset.