collections

This commit is contained in:
Benjamin Dalsass
2025-12-10 08:53:34 +01:00
parent 9543624a0d
commit 090925e28b
6 changed files with 108 additions and 18 deletions

View File

@@ -2,6 +2,10 @@ class ChoicesElement extends HTMLSelectElement {
plugins = [];
connectedCallback() {
if (this.tomselect) {
return;
}
if (this.getAttribute('multiple')) {
this.plugins.push('remove_button');
}