diff --git a/src/components/form/select/select.tsx b/src/components/form/select/select.tsx index df679c1d681..653c4fb8317 100644 --- a/src/components/form/select/select.tsx +++ b/src/components/form/select/select.tsx @@ -37,7 +37,10 @@ export interface EuiSelectOption text: React.ReactNode; } -export type EuiSelectProps = SelectHTMLAttributes & +export type EuiSelectProps = Omit< + SelectHTMLAttributes, + 'value' +> & CommonProps & { options?: EuiSelectOption[]; isInvalid?: boolean; @@ -49,6 +52,7 @@ export type EuiSelectProps = SelectHTMLAttributes & */ hasNoInitialSelection?: boolean; inputRef?: Ref; + value?: string | number; /** * when `true` creates a shorter height input