Rule

@Serializable
data class Rule(val effect: Effect, val condition: Condition)

A rule that may be attached to any UI schema element.

Constructors

Link copied to clipboard
constructor(effect: Effect, condition: Condition)

Properties

Link copied to clipboard

The condition of the rule that must evaluate to true in order to trigger the effect.

Link copied to clipboard

The effect of the rule.

Functions

Link copied to clipboard

Evaluate the rule to check if we should disable the field.

Link copied to clipboard

Evaluate the rule to check if we should show the field.