From 4cd6857072a5b7f5b62f1c1e9b11a75472bf9ab3 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Mon, 4 Jul 2022 15:31:17 +0000 Subject: [PATCH] fix(password): watcher (#2097) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2097 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/components/input/password.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/password.vue b/src/components/input/password.vue index d32bae9c..ceedfc75 100644 --- a/src/components/input/password.vue +++ b/src/components/input/password.vue @@ -45,7 +45,7 @@ const password = ref('') const isValid = ref(!props.validateInitially) watch( - props.validateInitially, + () => props.validateInitially, () => props.validateInitially && validate(), {immediate: true}, )