Skip to content

Commit

Permalink
fix: Multi filter bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Parikshit85 committed Mar 27, 2024
1 parent 1123a25 commit 4e245d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/src/components/shared/customAutoComplete/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ const CustomAutoComplete = ({
value: string
) => {
setSearch(value);
setOptions([]);
if (!(value == "" && isMulti)) {
setOptions([]);
}
setPagination({ ...pagination, current_page_number: 1 }); // Reset pagination
};

Expand Down

0 comments on commit 4e245d0

Please sign in to comment.