From 3608c6b8ab7effee4ff80d0d4414db642a22191e Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Wed, 2 Mar 2022 10:53:00 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04582=20Prevent=20selectize=20behavior=20?= =?UTF-8?q?introduced=20by=202e08cff=20from=20displaying=20unescaped=20cha?= =?UTF-8?q?racters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/extkeywidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/extkeywidget.js b/js/extkeywidget.js index f51f5a21c..6014debc5 100644 --- a/js/extkeywidget.js +++ b/js/extkeywidget.js @@ -25,7 +25,7 @@ Selectize.define('custom_itop', function(aOptions) { if (this.$control_input.val() === '' && !this.$activeItems.length) { iIndex = this.caretPos-1; if (iIndex >= 0 && iIndex < this.items.length) { - let sPreviousValue = this.options[this.items[iIndex]].label; + let sPreviousValue = this.options[this.items[iIndex]].search_label; this.clear(true); e.preventDefault(); this.setTextboxValue(sPreviousValue.slice(0, -1));