diff --git a/app/javascript/vue/assign_items_to_tasks_modal/container.vue b/app/javascript/vue/assign_items_to_tasks_modal/container.vue index b0f30b4f9..feb53a36f 100644 --- a/app/javascript/vue/assign_items_to_tasks_modal/container.vue +++ b/app/javascript/vue/assign_items_to_tasks_modal/container.vue @@ -39,6 +39,7 @@ [] }, initialValue: { type: [String, Number] }, placeholder: { type: String }, @@ -25,7 +26,6 @@ }, data() { return { - value: null, isOpen: false, optionPositionStyle: '' } @@ -66,8 +66,7 @@ } }, setValue(value) { - this.value = value; - this.$emit('change', this.value); + this.$emit('change', value); }, updateOptionPosition() { const container = this.$refs.container; diff --git a/app/javascript/vue/shared/select_search.vue b/app/javascript/vue/shared/select_search.vue index 88249ef97..7bdb79b55 100644 --- a/app/javascript/vue/shared/select_search.vue +++ b/app/javascript/vue/shared/select_search.vue @@ -1,5 +1,5 @@