.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
margin-right: 3px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
clear: none;
width: auto;
let selectFields = document.querySelectorAll('select[multiple]');
selectFields.forEach((selectField) => {
selectField.style.minWidth = '320px';
$(selectField).select2({
$(selectField).select2();
closeOnSelect: false,
});
-