N°6164 - Fix linkset tagset widget dropdown in modal

This commit is contained in:
Stephen Abello
2023-04-11 14:39:57 +02:00
parent 31f163c8ca
commit a73f0ba362

View File

@@ -184,6 +184,9 @@ let oWidget{{ oUIBlock.GetId() }} = $('#{{ oUIBlock.GetId() }}').selectize({
this.toggleErrorClass(this.settings.hasError);
},
onDropdownOpen: function (oDropdownElem) {
oDropdownElem.addClass('set-dropdown');
},
{# On item add #}
onItemAdd: function(value, $item){
@@ -203,7 +206,6 @@ let oWidget{{ oUIBlock.GetId() }} = $('#{{ oUIBlock.GetId() }}').selectize({
},
{% endif %}
});