Can’t add Select2 to select in variable product (admin)

Can you try this?

(function($) {
    "use strict";

    $('.select2').select2();

    $(document).on('woocommerce_variations_loaded', function(event) {
        $(document).find('.select2').select2();
    });

})( jQuery );

Not tested. Thanks

techhipbettruvabetnorabahisbahis forumueduedusedueduedusedusedusedueduedu