Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove attributes in unused in select input #6725

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions plugins/main/public/components/common/form/input_select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ export const InputFormSelect = ({
value,
onChange,
placeholder,
selectedOptions,
isDisabled,
isClearable,
dataTestSubj,
}: IInputFormType) => {
return (
Expand All @@ -18,9 +15,6 @@ export const InputFormSelect = ({
value={value}
onChange={onChange}
placeholder={placeholder}
selectedOptions={selectedOptions}
isDisabled={isDisabled}
isClearable={isClearable}
data-test-subj={dataTestSubj}
/>
);
Expand Down
2 changes: 2 additions & 0 deletions plugins/main/public/components/common/form/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export interface IInputFormType {
isInvalid?: boolean;
options: any;
setInputRef: (reference: any) => void;
placeholder: string;
dataTestSubj: string;
}

export interface IInputForm {
Expand Down
Loading