Skip to content

Commit c47fda0

Browse files
authored
Merge branch '4.9.0' into fix/6693-cannot-perform-a-react-state-update-on-an-unmounted-component
2 parents cbf7c78 + 33fddd7 commit c47fda0

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

plugins/main/public/components/common/form/input_select.tsx

-6
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ export const InputFormSelect = ({
77
value,
88
onChange,
99
placeholder,
10-
selectedOptions,
11-
isDisabled,
12-
isClearable,
1310
dataTestSubj,
1411
}: IInputFormType) => {
1512
return (
@@ -18,9 +15,6 @@ export const InputFormSelect = ({
1815
value={value}
1916
onChange={onChange}
2017
placeholder={placeholder}
21-
selectedOptions={selectedOptions}
22-
isDisabled={isDisabled}
23-
isClearable={isClearable}
2418
data-test-subj={dataTestSubj}
2519
/>
2620
);

plugins/main/public/components/common/form/types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ export interface IInputFormType {
77
isInvalid?: boolean;
88
options: any;
99
setInputRef: (reference: any) => void;
10+
placeholder: string;
11+
dataTestSubj: string;
1012
}
1113

1214
export interface IInputForm {

0 commit comments

Comments
 (0)