Skip to content

RelationshipFieldAdmin

RelationshipFieldAdmin(props): Element

Defined in: packages/react/src/fields/relationship/Field.tsx:212

Relationship admin field — binds props.name to the nearest <AppForm> (or an explicit field prop) via AdminFieldBinding, then renders the empty/filled/read-only state switch.

FieldComponentProps<{ collectionSlug: string; }, RelationshipField<string, { collectionSlug: string; }, string, ComponentHKT>> & object

FieldComponentProps narrowed to RelationshipField.

Element

The relationship field’s rendered state.