RelationFieldProps
RelationFieldProps =
BaseFieldProps&object
Defined in: packages/ui/src/types.ts:834
Props for the RelationField read-only display component.
Displays a related record’s display field (e.g., author name) with an optional
link to the related record’s detail page. The linkTo pattern supports :id
as a placeholder for the record’s ID.
Type Declaration
Section titled “Type Declaration”display?
Section titled “display?”
optionaldisplay:string
Property name to display from the related record. Defaults to “name”.
linkTo?
Section titled “linkTo?”
optionallinkTo:string
URL pattern for linking to the related record. Use :id as placeholder.
value:
unknown
Related record object or primitive value.
BaseFieldProps for inherited label and className props.