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. To fall back to the control's own disabled, leave this key out: current builds decide precedence by key presence, so an explicit undefined still suppresses the fallback, but that is an implementation detail rather than part of the API, and may change.

Since: 1.13.0