UIFieldComponentProps
Defined in: packages/core/src/fields/ui/types.ts:11
Props passed to a ui() field’s Field component.
Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends VexResourceSlug = VexResourceSlug
Properties
Section titled “Properties”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
Section titled “readOnly”readOnly:
boolean
Defined in: packages/core/src/fields/ui/types.ts:20
siblingData
Section titled “siblingData”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.