diff --git a/plugins/main/public/components/common/form/input_select.tsx b/plugins/main/public/components/common/form/input_select.tsx index b212f3f068..c610066136 100644 --- a/plugins/main/public/components/common/form/input_select.tsx +++ b/plugins/main/public/components/common/form/input_select.tsx @@ -7,9 +7,6 @@ export const InputFormSelect = ({ value, onChange, placeholder, - selectedOptions, - isDisabled, - isClearable, dataTestSubj, }: IInputFormType) => { return ( @@ -18,9 +15,6 @@ export const InputFormSelect = ({ value={value} onChange={onChange} placeholder={placeholder} - selectedOptions={selectedOptions} - isDisabled={isDisabled} - isClearable={isClearable} data-test-subj={dataTestSubj} /> ); diff --git a/plugins/main/public/components/common/form/types.ts b/plugins/main/public/components/common/form/types.ts index dfe5f60d29..2d009b5b88 100644 --- a/plugins/main/public/components/common/form/types.ts +++ b/plugins/main/public/components/common/form/types.ts @@ -7,6 +7,8 @@ export interface IInputFormType { isInvalid?: boolean; options: any; setInputRef: (reference: any) => void; + placeholder: string; + dataTestSubj: string; } export interface IInputForm {