Skip to content

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.

{ label: string; }

string

string

The item’s own label, or DEFAULT_ARRAY_ITEM_LABEL if unset.