Skip to content

@serenity-is/corelib / PropertyFieldConditionState

Interface: PropertyFieldConditionState

Defined in: src/ui/widgets/propertygrid.tsx:28

What the conditions of a field, see PropertyItem.visibleWhen, PropertyItem.readOnlyWhen and PropertyItem.requiredWhen, make of it for the current values of the other fields. They only add to what the property item and the mode make of it, e.g. a field hidden by a permission stays hidden.

Properties

hidden?

optional hidden: boolean

Defined in: src/ui/widgets/propertygrid.tsx:30

Whether the field is hidden by a condition of its own, or by one on a field that is hidden by a condition.


readOnly?

optional readOnly: boolean

Defined in: src/ui/widgets/propertygrid.tsx:32

Whether the field is read only by its conditions.


required?

optional required: boolean

Defined in: src/ui/widgets/propertygrid.tsx:34

Whether the field is required by its conditions, which a hidden or read only field is not.