From 5ed64db70211ca591451cf8669ea07125984a761 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Fri, 25 Apr 2025 10:01:03 +0200 Subject: [PATCH] added tt-icon select multiple --- public/plugins/vue/tt-components/tt-icon-select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/plugins/vue/tt-components/tt-icon-select.js b/public/plugins/vue/tt-components/tt-icon-select.js index 673ae951a..f5ad16d0c 100644 --- a/public/plugins/vue/tt-components/tt-icon-select.js +++ b/public/plugins/vue/tt-components/tt-icon-select.js @@ -113,7 +113,7 @@ Vue.component('tt-icon-select', { let currentValues = [...this.internalValue]; // Work with a copy const index = currentValues.findIndex(v => v?.toString() === selectedVal?.toString()); - if (selectedVal === null) { // "Alle" clears selection in multi-mode + if (selectedVal === '') { // "Alle" clears selection in multi-mode currentValues = []; this.isOpen = false; // Close after clearing } else if (index > -1) { // Item exists, remove it