Skip to content

PropertyDisabledConfig

@firecms/core


@firecms/core / PropertyDisabledConfig

Defined in: types/properties.ts:171

optional clearOnDisabled: boolean

Defined in: types/properties.ts:180

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.


optional disabledMessage: string

Defined in: types/properties.ts:186

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


optional hidden: boolean

Defined in: types/properties.ts:191

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