PropertyDisabledConfig
@firecms/core / PropertyDisabledConfig
Interface: PropertyDisabledConfig
Section titled “Interface: PropertyDisabledConfig”Defined in: types/properties.ts:171
Properties
Section titled “Properties”clearOnDisabled?
Section titled “clearOnDisabled?”
optionalclearOnDisabled: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.
disabledMessage?
Section titled “disabledMessage?”
optionaldisabledMessage:string
Defined in: types/properties.ts:186
Explanation of why this property is disabled (e.g. a different field needs to be enabled)
hidden?
Section titled “hidden?”
optionalhidden:boolean
Defined in: types/properties.ts:191
Set this flag to true if you want to hide this field when disabled