Skip to content

UIFieldComponentProps

Defined in: packages/core/src/fields/ui/types.ts:11

Props passed to a ui() field’s Field component.

TCollectionSlug extends VexResourceSlug = VexResourceSlug

data: DocumentByResourceSlug<TCollectionSlug>

Defined in: packages/core/src/fields/ui/types.ts:17

The whole document currently being edited, typed against TCollectionSlug when supplied.


name: string

Defined in: packages/core/src/fields/ui/types.ts:15

This field’s own key in the parent fields record.


readOnly: boolean

Defined in: packages/core/src/fields/ui/types.ts:20


siblingData: Record<string, unknown>

Defined in: packages/core/src/fields/ui/types.ts:19

The value at this field’s parent path — see FieldConditionProps.siblingData.