Skip to main content

PropertyDisabledConfig

Index

Properties

optionalclearOnDisabled

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.

optionaldisabledMessage

disabledMessage?: string

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

optionalhidden

hidden?: boolean

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

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