When you use 2 different jQuery initializations (when you use RequireJS) the $ sign becomes out of scope when select2's are initiated, using jQuery instead of $ will fix this.
@@ -70,7 +70,7 @@ var Admin = {
if (window.SONATA_CONFIG && window.SONATA_CONFIG.USE_SELECT2 && window.Select2) {
jQuery('select:not([data-sonata-select2="false"])', subject).each(function() {
- var select = $(this);
+ var select = jQuery(this);
var allowClearEnabled = false;