From 7f41d5eb1e5dbe1b3a26097a06a83d45fa3ccf85 Mon Sep 17 00:00:00 2001 From: msquare Date: Mon, 14 Aug 2023 10:52:02 +0200 Subject: [PATCH] fixes #1179: stop choices.js from escaping choices --- resources/assets/js/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/forms.js b/resources/assets/js/forms.js index 11f17c45..2cb126da 100644 --- a/resources/assets/js/forms.js +++ b/resources/assets/js/forms.js @@ -234,7 +234,7 @@ ready(() => { ready(() => { document.querySelectorAll('select').forEach((element) => { element.choices = new Choices(element, { - allowHTML: false, + allowHTML: true, classNames: { containerInner: 'choices__inner form-control', },