Interface InputSelectComponentProps<T>

interface InputSelectComponentProps<T> {
    disabled?: boolean;
    intl?: InjectedIntl;
    isErrored?: boolean;
    isRequired?: boolean;
    label?: string | Element;
    onChange: ((choice) => void);
    onKeyDown?: InputSelectOnKeyDown;
    options: FormSelectChoice<string | number, string>[];
    placeholder?: string;
    suppressPlaceholder?: boolean;
    value: T;
}

Type Parameters

  • T = any

Properties

disabled?: boolean
intl?: InjectedIntl
isErrored?: boolean
isRequired?: boolean
label?: string | Element
onChange: ((choice) => void)

Type declaration

    • (choice): void
    • Parameters

      • choice: T

      Returns void

options: FormSelectChoice<string | number, string>[]
placeholder?: string
suppressPlaceholder?: boolean
value: T