CollapsibleFieldInput
Defined in: packages/core/src/fields/collapsible/types.ts:18
Configuration input for a collapsible() field — a UI-only fieldset
(no stored value) that groups its fields behind a collapsible toggle
in the admin form. Its fields hoist to the parent level once flattened.
Extends
Section titled “Extends”BaseUIFieldInput<TCollectionSlug,TFieldMeta>
Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends VexResourceSlug = VexResourceSlug
TFieldMeta
Section titled “TFieldMeta”TFieldMeta extends object = { }
TFields
Section titled “TFields”TFields extends Record<string, AdminField> = Record<string, AdminField>
Properties
Section titled “Properties”admin?
Section titled “admin?”
optionaladmin?:CollapsibleFieldAdminInput<TCollectionSlug>
Defined in: packages/core/src/fields/collapsible/types.ts:26
Admin UI configuration for this UI field.
Overrides
Section titled “Overrides”description?
Section titled “description?”
optionaldescription?:string
Defined in: packages/core/src/fields/baseTypes.ts:516
Semantic description of the field. Used in three places:
- Helper text rendered below the field input in the admin form UI.
- As the Zod
.meta({ description })value for form validation. - As the JSDoc comment on the generated document interface property.
To write a separate JSDoc comment, use interfaceDescription in addition.
Inherited from
Section titled “Inherited from”fields
Section titled “fields”fields:
TFields
Defined in: packages/core/src/fields/collapsible/types.ts:25
label:
string
Defined in: packages/core/src/fields/collapsible/types.ts:24
Fieldset label shown above the collapsible toggle.
Overrides
Section titled “Overrides”
optionalmeta?:TFieldMeta
Defined in: packages/core/src/fields/baseTypes.ts:546