FieldSet
The Comet Admin FieldSet component is intended for better structuring of big forms. It allows the user to show and hide sections of related content on a page.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| title | ReactNode | Title of the FieldSet | |
| supportText | ReactNode (optional) | Additional line below the Title | |
| endAdornment | ReactNode (optional) | An element on the right end of the FieldSetSummary | |
| collapsible | boolean (optional) | true | If true, FieldSet can be opened and closed (Accordion behavior) |
| initiallyExpanded | boolean (optional) | true | If false, FieldSet is closed by default |
| disablePadding | boolean (optional) | false | If true, content will have no padding |