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.
Type Parameters
Section titled “Type Parameters”TData extends TDocument = TDocument
TArrayType
Section titled “TArrayType”TArrayType extends ArrayType = ArrayType
Parameters
Section titled “Parameters”CellComponentProps<ArrayField<string, TArrayType, BaseFieldMeta>, TData>
Component props
Returns
Section titled “Returns”Element
The cell component for this field type
Example
Section titled “Example”<ArrayFieldCell value={doc.tags ?? []} fieldDef={tagsField} row={row} />