Option | Description |
---|---|
label * | A label to render within the header of the collapsible component. |
fields * | Array of field types to nest within this Collapsible. |
admin | Admin-specific configuration. See the default field admin config for more details. |
* An asterisk denotes that a property is required.
collections/ExampleCollection.js
{slug: 'example-collection',fields: [{label: 'Header of collapsible goes here',type: 'collapsible', // requiredfields: [ // required{name: 'someTextField',type: 'text',required: true,},],}]}