Skip to main content

Section

Element to define sections of the form for the visual props editor

Index

ColumnColumn
Section.alignmentSection.children
Section.disabledSection.isAccordianExpanded
Section.keySection.label
Section.labelTranslationSection.layoutType
Section.type

Properties

alignment

alignment: row | column

Optional

Defines form alignment in the view for the section

children

children: PropElement[]

Optional

Can include either form elements or nested sections

disabled

disabled: boolean

Optional

Determines whether section should be disabled or not

isAccordianExpanded

isAccordianExpanded: boolean

Optional

key

key: string

Key to define & store the children's parent

label

label: string

Optional

I18n'ed string to show the section name label

labelTranslation

labelTranslation: VisualPropComponentTranslationKeys

Optional

Translation key for the label

layoutType

layoutType: accordion | tab | none

Optional

Defines form layout in the view for the section. default will be 'accordion' for first section if nothing specified and will be 'none' for all nested section.

type

type: section