From 9aa04fb3ee194593dac9cc019a7275cd9ebc892e Mon Sep 17 00:00:00 2001 From: Michael Bischof Date: Wed, 13 Nov 2024 14:23:10 +0100 Subject: [PATCH] Update default behaviour --- assets/js/admin.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/assets/js/admin.js b/assets/js/admin.js index 7b8c54f83e..82f50fba47 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -102,9 +102,7 @@ const Admin = { allowClearEnabled = false; } - if (select.attr('data-sonata-select2-allow-tags') === 'false') { - allowTags = false; - } else { + if (select.attr('data-sonata-select2-allow-tags') === 'true') { allowTags = true; }