Skip to main content

Status

Container properties

All component configurations support Container properties at the first level.

Component properties

NameTypeDefaultSupports Variable PatternDescription
classNamestring✔️component's className
styleobjectcomponent style
statusColorstringThe color of the current state, if not specified, it will be found through value from the enums property
enumsArray<{ value: string, label: string, color: string }>Status list

JS API

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

NameTypeDescription
nodeHTML ElementThe root DOM element of the component