OpenFin Workspace API
    Preparing search index...

    Interface TimeField<W>

    The base type for form fields.

    interface TimeField<W extends TimeWidget = TimeWidget> {
        helperText?: string;
        key: string;
        label?: string;
        type: "time";
        validation?: Record<string, any>;
        value?: TimeFieldValue;
        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: "time"

    Field data type.

    validation?: Record<string, any>

    Validation rules used to validate user input.

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

    widget: W