blessed-components - v1.20.0
    Preparing search index...

    Interface RenderTimeInputOptions

    Options accepted by renderTimeInput.

    interface RenderTimeInputOptions {
        max?: string;
        min?: string;
        characters?: FormFieldCharacters;
        disabled?: boolean;
        error?: string;
        focused?: boolean;
        height?: number;
        hint?: string;
        label: string;
        placeholder?: string;
        required?: boolean;
        value?: string;
        width: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    max?: string

    Inclusive maximum time in HH:mm format.

    min?: string

    Inclusive minimum time in HH:mm format.

    characters?: FormFieldCharacters

    Character tokens used by the field and supporting text.

    disabled?: boolean

    Whether editing is unavailable.

    error?: string

    Error text. When present it takes precedence over hint.

    focused?: boolean

    Whether the input currently owns terminal focus.

    height?: number

    Maximum rendered height.

    hint?: string

    Hint text shown when no error is present.

    label: string

    Field label.

    placeholder?: string

    Placeholder shown when value is empty.

    required?: boolean

    Whether the label should include a required indicator.

    value?: string

    Current time text, expected as HH:mm.

    width: number

    Maximum terminal-cell width of each line.