From e2146a5a58d728b5fe5b5ef9ac012fd0cf4975c9 Mon Sep 17 00:00:00 2001 From: Romain Hamel Date: Tue, 1 Aug 2023 18:34:52 +0200 Subject: [PATCH] docs(Form): fixed invalid state attributes in examples (#479) --- docs/components/content/examples/FormExampleJoi.vue | 8 ++++---- docs/components/content/examples/FormExampleYup.vue | 8 ++++---- docs/components/content/examples/FormExampleZod.vue | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/components/content/examples/FormExampleJoi.vue b/docs/components/content/examples/FormExampleJoi.vue index 486f7586..00e3f02e 100644 --- a/docs/components/content/examples/FormExampleJoi.vue +++ b/docs/components/content/examples/FormExampleJoi.vue @@ -10,8 +10,8 @@ const schema = Joi.object({ }) const state = ref({ - email: undefined, - password: undefined + emailJoi: undefined, + passwordJoi: undefined }) const form = ref() @@ -30,11 +30,11 @@ async function submit () { @submit.prevent="submit" > - + - + diff --git a/docs/components/content/examples/FormExampleYup.vue b/docs/components/content/examples/FormExampleYup.vue index 37de1bdc..adbbddf2 100644 --- a/docs/components/content/examples/FormExampleYup.vue +++ b/docs/components/content/examples/FormExampleYup.vue @@ -13,8 +13,8 @@ const schema = object({ type Schema = InferType const state = ref({ - email: undefined, - password: undefined + emailYup: undefined, + passwordYup: undefined }) const form = ref>() @@ -33,11 +33,11 @@ async function submit () { @submit.prevent="submit" > - + - + diff --git a/docs/components/content/examples/FormExampleZod.vue b/docs/components/content/examples/FormExampleZod.vue index 7cb2040d..284a345c 100644 --- a/docs/components/content/examples/FormExampleZod.vue +++ b/docs/components/content/examples/FormExampleZod.vue @@ -11,8 +11,8 @@ const schema = z.object({ type Schema = z.output const state = ref({ - email: undefined, - password: undefined + emailZod: undefined, + passwordZod: undefined }) const form = ref>() @@ -31,11 +31,11 @@ async function submit () { @submit.prevent="submit" > - + - +