Update FormDoc.vue
parent
ff3f03aad6
commit
b0f0e1cbb8
|
@ -27,7 +27,7 @@ export default {
|
||||||
filteredCountries: null,
|
filteredCountries: null,
|
||||||
resolver: null,
|
resolver: null,
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
city: z.string().refine((val) => val.name !== '', {
|
country: z.string().refine((val) => val.name !== '', {
|
||||||
message: 'Please select a country.'
|
message: 'Please select a country.'
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue