From ac9c854b243716ff7a6f01a66a8463cb91bb598e Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 22 Jul 2021 23:20:57 +0200 Subject: [PATCH] Fix selecting a single value from multiselect Used when moving a task to other lists among other things --- src/components/input/multiselect.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/input/multiselect.vue b/src/components/input/multiselect.vue index a6857c054..503e9a17a 100644 --- a/src/components/input/multiselect.vue +++ b/src/components/input/multiselect.vue @@ -282,9 +282,6 @@ export default { this.closeSearchResults() }, setSelectedObject(object, resetOnly = false) { - if (!Array.isArray(object)) { - object = [object] - } this.$set(this, 'internalValue', object) // We assume we're getting an array when multiple is enabled and can therefore leave the query