From bc2baa3bbd179deb8d1fa071d7dd9e61c0b0c5d6 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Wed, 3 Jul 2024 09:32:04 +0200 Subject: [PATCH] feat(Multiselect): hide multiselect during loading --- frontend/src/components/input/Multiselect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/input/Multiselect.vue b/frontend/src/components/input/Multiselect.vue index d945e4e75..bc4731f46 100644 --- a/frontend/src/components/input/Multiselect.vue +++ b/frontend/src/components/input/Multiselect.vue @@ -324,7 +324,7 @@ const hasMultiple = computed(() => { return props.multiple && Array.isArray(internalValue.value) && internalValue.value.length > 0 }) -const removalAvailable = computed(() => !props.multiple && internalValue.value !== null && query.value !== '') +const removalAvailable = computed(() => !props.multiple && internalValue.value !== null && query.value !== '' && !(props.loading || localLoading.value)) function resetSelectedValue() { select(null) }