From df81069c9324dc963c9a85291ca1f0dc27bba1bc Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 3 Aug 2022 22:28:06 +0200 Subject: [PATCH] fix textarea not updating properly fixes https://akkoma.dev/FoundKeyGang/FoundKey/issues/54 --- CALCKEY.md | 3 ++- packages/client/src/components/form/textarea.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CALCKEY.md b/CALCKEY.md index cf16fb7ce..b7b770cd8 100644 --- a/CALCKEY.md +++ b/CALCKEY.md @@ -80,4 +80,5 @@ - 0f6d94f1e7e1f58cfbf8d07e5f835f8de626842e: backend: improve mutes and blocks - e2bf2715a6462ed377b033956d65260157f042ea: fix spelling error - 09a7eabda137e77f81ab31f65d69329670693c8d: backend: fix lint "no-throw-literal" - - + - 4fbe2e065e75ed3e5b4dfdfd4be3baa03cc447c3: client: fix lint "quotes" + - 585e4f5c42cfafb6cdf7eb601ab435d6a4d85a96: fix textarea not updating properly diff --git a/packages/client/src/components/form/textarea.vue b/packages/client/src/components/form/textarea.vue index 73633399d..e4efc70f0 100644 --- a/packages/client/src/components/form/textarea.vue +++ b/packages/client/src/components/form/textarea.vue @@ -137,7 +137,7 @@ export default defineComponent({ v.value = newValue; }); - watch(v, newValue => { + watch($$(v), () => { if (!props.manualSave) { if (props.debounce) { debouncedUpdated();