Skip to content

Commit 33fddd7

Browse files
Remove attributes in unused in select input (#6725)
Remove attributes in unused Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
1 parent 42ca330 commit 33fddd7

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

Lines changed: 0 additions & 6 deletions
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

Lines changed: 2 additions & 0 deletions
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)