masowa edycja kategorii, crop dla usera i poprawki w zapytaniach

This commit is contained in:
Mateusz Gruszczyński
2025-07-30 23:57:22 +02:00
parent f4523d0c95
commit 50de359838
6 changed files with 116 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll('select[multiple]').forEach(function (el) {
new TomSelect(el, {
plugins: ['remove_button'],
placeholder: 'Wybierz kategorie...',
create: false,
sortField: { field: "text", direction: "asc" },
dropdownParent: 'body'
});
});
});