Skip to content

Commit

Permalink
fix(dropdpown): trigger onchange for paste values
Browse files Browse the repository at this point in the history
Pasted values into multiple search dropdowns did not trigger the onchange event for selected values
  • Loading branch information
lubber-de authored Apr 28, 2023
1 parent aadb1e8 commit 17ae2a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1097,8 +1097,8 @@
notFoundTokens = []
;
tokens.forEach(function (value) {
if (module.set.selected(module.escape.htmlEntities(value.trim()), null, true, true) === false) {
notFoundTokens.push(value);
if (module.set.selected(module.escape.htmlEntities(value.trim()), null, false, true) === false) {
notFoundTokens.push(value.trim());
}
});
event.preventDefault();
Expand Down

0 comments on commit 17ae2a9

Please sign in to comment.