SelectFieldCell
SelectFieldCell<
TData>(props):Element
Defined in: packages/react/src/fields/select/Cell.tsx:27
Select field cell component for the data-table list view.
Renders each selected option as a Badge. Options not present in the stored
value are omitted. Shows an em-dash placeholder when the value is undefined,
null, or an empty array (no selection).
Type Parameters
Section titled “Type Parameters”TData extends TDocument = TDocument
Parameters
Section titled “Parameters”CellComponentProps<SelectField<string, { }>, TData>
Component props
Returns
Section titled “Returns”Element
A row of Badge components, one per selected option
Example
Section titled “Example”<SelectFieldCell value={doc.tags} fieldDef={tagsField} row={row} />