@open-formulieren/types
    Preparing search index...

    Interface OFConditionalOptions

    Replacement of Formio's ConditionalOptions, changes are:

    • we don't support json
    • eq can be any JSON-serializable type, not just string. Note that our builder uses appropriate JS types for the component type referenced via when.`
    interface OFConditionalOptions {
        eq?: string | number | boolean;
        show?: boolean;
        when?: string;
    }
    Index

    Properties

    Properties

    eq?: string | number | boolean

    The value that should be checked against the comparison component.

    For array values, the array is checked if it contains the specified value.

    Only (a subset of) primitives are supported.

    show?: boolean

    If the field should show if the condition is true

    when?: string

    The field API key that it should compare its value against to determine if the condition is triggered.