Update FormDoc.vue
parent
437e90a8c2
commit
755edbf7dd
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue