CollapsibleFieldAdminConfig
Defined in: packages/core/src/fields/collapsible/types.ts:30
Resolved per-type admin for collapsible().
Extends
Section titled “Extends”UIFieldAdminConfig<TCollectionSlug>
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”UIFieldAdminConfig.condition
defaultCollapsed
Section titled “defaultCollapsed”defaultCollapsed:
boolean
Defined in: packages/core/src/fields/collapsible/types.ts:33
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".