diff --git a/src/ui/src/components/shared/customAutoComplete/index.tsx b/src/ui/src/components/shared/customAutoComplete/index.tsx index aa23b03d..34035299 100644 --- a/src/ui/src/components/shared/customAutoComplete/index.tsx +++ b/src/ui/src/components/shared/customAutoComplete/index.tsx @@ -205,6 +205,7 @@ const CustomAutoComplete = ({ /> ); }} + isOptionEqualToValue={isOptionEqualToValue} renderOption={(props, option, { selected }) => (
  • { + return option.id === value.id; + }} size="medium" /> ); @@ -84,6 +87,9 @@ export default function FiltersComponent({ return ""; } }} + isOptionEqualToValue={(option: any, value: any) => { + return option.id === value.id; + }} size="medium" /> ); @@ -113,6 +119,9 @@ export default function FiltersComponent({ return ""; } }} + isOptionEqualToValue={(option: any, value: any) => { + return option.id === value.id; + }} size="medium" /> ); @@ -142,6 +151,9 @@ export default function FiltersComponent({ return ""; } }} + isOptionEqualToValue={(option: any, value: any) => { + return option.id === value.id; + }} size="medium" /> );