From fed41d8d1502d1cf3efcd7d0b9192d8b4648b681 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Tue, 18 Oct 2022 22:00:40 +0200 Subject: [PATCH] fix API console --- packages/client/src/components/form/textarea.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/components/form/textarea.vue b/packages/client/src/components/form/textarea.vue index a379bde14..24fe867e3 100644 --- a/packages/client/src/components/form/textarea.vue +++ b/packages/client/src/components/form/textarea.vue @@ -67,6 +67,8 @@ const { modelValue } = toRefs(props); // modelValue is read only, so a separate ref is needed. const v = $ref(modelValue.value); +watch(modelValue, () => v = modelValue.value); + let focused = $ref(false); let changed = $ref(false); let inputEl: HTMLTextAreaElement | null = $ref(null);