Update FormDoc.vue

pull/6632/head
Mert Sincan 2024-10-23 12:15:03 +01:00
parent 437e90a8c2
commit 755edbf7dd
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ export default {
data() { data() {
return { return {
initialValues: { initialValues: {
city: { cname: '' } city: null
}, },
resolver: zodResolver( resolver: zodResolver(
z.object({ z.object({
@ -251,7 +251,7 @@ import { z } from 'zod';
const toast = useToast(); const toast = useToast();
const initialValues = ref({ const initialValues = ref({
city: { name: '' } city: null
}); });
const resolver = ref(zodResolver( const resolver = ref(zodResolver(
z.object({ z.object({