OpenFin Workspace API
    Preparing search index...

    Interface BooleanField<W>

    The base type for form fields.

    interface BooleanField<W extends BooleanWidget = BooleanWidget> {
        helperText?: string;
        key: string;
        label?: string;
        type: "boolean";
        validation?: Record<string, any>;
        value?: boolean;
        widget: W;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    helperText?: string

    Helper text.

    key: string

    The property key that this field value will appear in the returned form object.

    label?: string

    Input label.

    type: "boolean"

    Field data type.

    validation?: Record<string, any>

    Validation rules used to validate user input.

    value?: boolean

    Default value for field, and where it will be written to

    widget: W