From 755edbf7dde145c05b32818dc4f299a9d13160f6 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Wed, 23 Oct 2024 12:15:03 +0100 Subject: [PATCH] Update FormDoc.vue --- apps/showcase/doc/cascadeselect/FormDoc.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/showcase/doc/cascadeselect/FormDoc.vue b/apps/showcase/doc/cascadeselect/FormDoc.vue index d5905eec4..79b33d341 100644 --- a/apps/showcase/doc/cascadeselect/FormDoc.vue +++ b/apps/showcase/doc/cascadeselect/FormDoc.vue @@ -134,7 +134,7 @@ export default { data() { return { initialValues: { - city: { cname: '' } + city: null }, resolver: zodResolver( z.object({ @@ -251,7 +251,7 @@ import { z } from 'zod'; const toast = useToast(); const initialValues = ref({ - city: { name: '' } + city: null }); const resolver = ref(zodResolver( z.object({