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

    Interface RenderDateInputOptions

    Options accepted by renderDateInput.

    interface RenderDateInputOptions {
        max?: string | number | Date;
        min?: string | number | Date;
        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 | number | Date

    Inclusive maximum date accepted, formatted as YYYY-MM-DD or Date-like.

    min?: string | number | Date

    Inclusive minimum date accepted, formatted as YYYY-MM-DD or Date-like.

    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 date text, expected as YYYY-MM-DD.

    width: number

    Maximum terminal-cell width of each line.