From bbe71c4a2614256f8be15c071897c203bc69ceb3 Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat Date: Sun, 19 Nov 2023 18:10:19 +0100 Subject: [PATCH] (Fix) Only one item can be opened on item card [SCI-9686] --- app/javascript/vue/shared/inline_edit.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/javascript/vue/shared/inline_edit.vue b/app/javascript/vue/shared/inline_edit.vue index d88246d67..f360aa9f1 100644 --- a/app/javascript/vue/shared/inline_edit.vue +++ b/app/javascript/vue/shared/inline_edit.vue @@ -93,6 +93,11 @@ } }, watch: { + value(newVal, oldVal) { + if (newVal !== oldVal) { + this.newValue = newVal + } + }, editing() { this.refreshTexareaHeight() },