Skip to content

ArrayFieldCell

ArrayFieldCell<TData, TArrayType>(props): Element

Defined in: packages/react/src/fields/array/Cell.tsx:32

Array field cell component for the data-table list view.

Renders the item count of an array field (e.g. “3 items.”). Shows an em-dash placeholder when the array is empty. The title attribute shows the array’s own items, joined into one string — never the static field type/label config text a prior version showed.

TData extends TDocument = TDocument

TArrayType extends ArrayType = ArrayType

CellComponentProps<ArrayField<string, TArrayType, BaseFieldMeta>, TData>

Component props

Element

The cell component for this field type

<ArrayFieldCell value={doc.tags ?? []} fieldDef={tagsField} row={row} />