Skip to content

SettingDefinitionBase.disabled?

SettingDefinitionBase › disabled?

Unofficial

Type: (() => boolean) | boolean

Disables the row: adds is-disabled to the setting element and propagates to every component registered on it. Evaluated on each render; call refreshDomState() on the setting tab to re-evaluate in place.

Takes precedence over the disabled of a SettingDefinitionControl's own control. Precedence is decided by key presence, so setting this to undefined explicitly still suppresses that fallback.

Since: 1.13.0