Skip to content

Commit

Permalink
fix: updated onFilter event parameter to original search (#140)
Browse files Browse the repository at this point in the history
- as per original ms-select lib PR wenzhixin/multiple-select#609
  • Loading branch information
ghiscoding authored Oct 27, 2023
1 parent d473bd9 commit 02c1d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/MultipleSelectInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ export class MultipleSelectInstance {
this.updateSelected();

if (!ignoreTrigger) {
this.options.onFilter(search);
this.options.onFilter(originalSearch);
}
}

Expand Down

0 comments on commit 02c1d45

Please sign in to comment.