@theredhead — Frontend Library - v0.2.1
    Preparing search index...

    A single condition that controls whether a field or group is visible / enabled, based on the live value of another field.

    Conditions are JSON-serializable so a form schema can be stored as pure JSON and restored later.

    { "field": "country", "operator": "equals", "value": "NL" }
    
    interface FieldCondition {
        field: string;
        operator: ConditionOperator;
        value?: unknown;
    }
    Index

    Properties

    Properties

    field: string

    ID of the field whose value is evaluated.

    Comparison operator.

    value?: unknown

    Target value to compare against. Omitted for unary operators like "empty" and "notEmpty".