From b5e2a3e27731e66905287470581daf27c02761a0 Mon Sep 17 00:00:00 2001 From: Carotte <65663837+web-cooking-factory@users.noreply.github.com> Date: Tue, 2 Jul 2024 17:59:19 +0200 Subject: [PATCH] Set select2 default theme to bootstrap4 --- js/prestashop-ui-kit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/prestashop-ui-kit.js b/js/prestashop-ui-kit.js index 5e3dcea7..7e37c6f8 100644 --- a/js/prestashop-ui-kit.js +++ b/js/prestashop-ui-kit.js @@ -32,7 +32,7 @@ $.fn.pstooltip = $.fn.tooltip; */ var initSelect2 = function () { jQuery('[data-toggle="select2"]').each(function () { - var newObj = {minimumResultsForSearch: -1}; + var newObj = {minimumResultsForSearch: -1, theme: "bootstrap4"}; for (var attr in $(this).data()) { if (!attr.localeCompare('templateresult')) {