]> _ Git - cubist_cms-back.git/commitdiff
wait #7744 @2.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Sep 2025 16:35:04 +0000 (18:35 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Sep 2025 16:35:04 +0000 (18:35 +0200)
src/resources/views/fields/select2_from_array.blade.php

index 6ffdc5ef9d2c39f7df18a45c99210c72cd0f9faa..ebdc84a57067525e1d06feeafcf1c20d4804cd5d 100644 (file)
@@ -120,6 +120,12 @@ if($ajax){
                 $(document).on('change', '.select2_from_array', function () {
                     showSelectedValue();
                 });
+
+                $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
+                    setTimeout(function () {
+                        initUntriggeredSelectFromArray($);
+                    }, 10);
+                });
             });
 
             function showSelectedValue() {