Skip to main content

Tabs

Container Properties

The first layer of all component configurations supports Container Properties.

Component Properties (componentsProps)

NameTypeDefaultSupports Variable PatternDescription
defaultActiveKeystringThe default active tab.
itemsArray<ItemProps>The items of the tab group.
showUnderLineobjectWhether to show the underline.
suppressUrlSearchStorageobjectWhether to suppress storing the state in the URL search parameters.

ItemProps

NameTypeDefaultSupports Variable PatternDescription
keynumberThe key of the tab.
labelstringThe name of the tab.
fieldsArray<object>The content of the tab.
hiddenConditionalPropertyPropType(bool)false✔️Whether the tab is hidden.

JS API

The API obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementThe root DOM element of the component.