Skip to main content
Version: 3.0.0-beta

Interface: PropertyDisabledConfig

Properties​

clearOnDisabled?​

optional clearOnDisabled: boolean

Enable this flag if you would like to clear the value of the field when the corresponding property gets disabled.

This is useful for keeping data consistency when you have conditional properties.

Defined in​

packages/firecms_core/src/types/properties.ts:173


disabledMessage?​

optional disabledMessage: string

Explanation of why this property is disabled (e.g. a different field needs to be enabled)

Defined in​

packages/firecms_core/src/types/properties.ts:179


hidden?​

optional hidden: boolean

Set this flag to true if you want to hide this field when disabled

Defined in​

packages/firecms_core/src/types/properties.ts:184

Sign up to our newsletter to get the latest news and updates. No spam!