From fba0daad31d857240ac65b64b754755de376888e Mon Sep 17 00:00:00 2001 From: "isaac.mercieca" Date: Mon, 22 Jun 2020 10:05:56 +0200 Subject: [PATCH] Removed Character Sanitization When Searching Disabled character sanitization when searching as this was encoding characters (&,<,>"), which was resulting in options not being retrieved. --- src/scripts/choices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/choices.js b/src/scripts/choices.js index 1d69104..a3ced64 100644 --- a/src/scripts/choices.js +++ b/src/scripts/choices.js @@ -1402,7 +1402,7 @@ class Choices { this._isSearching = false; this._store.dispatch(activateChoices(true)); } else if (canSearch) { - this._handleSearch(this.input.value); + this._handleSearch(this.input.element.value); } }