Skip to content

Commit

Permalink
fix(dropdown): dont unfilter before hide
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de committed Dec 6, 2023
1 parent a020696 commit 033b682
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,9 @@
module.remove.userAddition();
}
if (!settings.keepSearchTerm) {
module.remove.filteredItem();
if (module.is.multiple()) {
module.remove.filteredItem();
}
module.remove.searchTerm();
}
if (!module.is.visible() && $target.length > 0) {
Expand Down

0 comments on commit 033b682

Please sign in to comment.