UIFieldAdminConfig
Defined in: packages/core/src/fields/baseTypes.ts:613
Resolved counterpart of UIFieldAdminInput after defaults are applied.
UIFieldAdminInput for the user-facing input type
Extends
Section titled “Extends”Pick<FieldAdminConfig<TCollectionSlug>,"condition"|"hidden"|"readOnly"|"position"|"width">
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends VexResourceSlug = VexResourceSlug
Properties
Section titled “Properties”condition?
Section titled “condition?”
optionalcondition?: (props) =>boolean
Defined in: packages/core/src/fields/baseTypes.ts:371
Shows the field only while this returns true.
Parameters
Section titled “Parameters”FieldConditionProps<TCollectionSlug>
Returns
Section titled “Returns”boolean
FieldAdminConfigInput.condition
Inherited from
Section titled “Inherited from”Pick.condition
hidden
Section titled “hidden”hidden:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:373
Whether the field is hidden from the admin form.
Inherited from
Section titled “Inherited from”position
Section titled “position”position:
"main"|"sidebar"
Defined in: packages/core/src/fields/baseTypes.ts:377
Position of the field in the form layout — "main" or "sidebar".
Inherited from
Section titled “Inherited from”readOnly
Section titled “readOnly”readOnly:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:375
Whether the field is read-only in the admin form.
Inherited from
Section titled “Inherited from”width:
string
Defined in: packages/core/src/fields/baseTypes.ts:379
Width of the field within its row, any CSS width — e.g. "100%", "50%", "240px".