Skip to main content
Version: 2.0.0

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/src/types/properties.ts:167


disabledMessage

Optional disabledMessage: string

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

Defined in

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


hidden

Optional hidden: boolean

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

Defined in

packages/firecms/src/types/properties.ts:178

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!