Status
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component style | ||
| statusColor | string | The color of the current state, if not specified, it will be found through value from the enums property | ||
| enums | Array<{ value: string, label: string, color: string }> | Status list |
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |