From 319ddab50f584b64a0b44cbe3e2f51d8648b915b Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Fri, 27 Oct 2023 00:30:48 -0400 Subject: [PATCH] fix: updated onFilter event parameter to original search - as per original ms-select lib PR https://github.com/wenzhixin/multiple-select/pull/609 --- lib/src/MultipleSelectInstance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/MultipleSelectInstance.ts b/lib/src/MultipleSelectInstance.ts index b70ea34fc..bd7976da3 100644 --- a/lib/src/MultipleSelectInstance.ts +++ b/lib/src/MultipleSelectInstance.ts @@ -1286,7 +1286,7 @@ export class MultipleSelectInstance { this.updateSelected(); if (!ignoreTrigger) { - this.options.onFilter(search); + this.options.onFilter(originalSearch); } }