Skip to content

DisplayComponentProps

Defined in: packages/core/src/fields/types.ts:250

Props passed to a field’s READ-ONLY display component — one per field type, registered in reactAdapter.fields[type].display (polish round), beside field/cell/filterInput. Resolved via fieldToDisplayComponent, which falls back to the type’s cell when no display is registered — simpler than CellComponentProps on purpose: a read-only display has no table row, no title-link behavior, and no column key, just the value, the field it belongs to, and enough document/collection context to resolve a relationship/upload’s related doc or build an edit link.

TField extends AdminDataField = AdminDataField

Narrows field to a specific field type.

TData extends TDocument = TDocument

TCollectionConfig extends CollectionConfig = CollectionConfig

collection: TCollectionConfig

Defined in: packages/core/src/fields/types.ts:262

The parent collection config.


document: TData

Defined in: packages/core/src/fields/types.ts:260

The full document the value belongs to.


field: TField

Defined in: packages/core/src/fields/types.ts:256

The resolved field definition — narrows to the specific field type via TField.


value: TField["defaultValue"]

Defined in: packages/core/src/fields/types.ts:258

The raw field value from the document — typed to the field’s value type.