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; }