From 2031423af840cf580a77fdeb372a20291d2327ca Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 23 Oct 2024 09:36:48 +0300 Subject: [PATCH] MultiSelect form updates --- apps/showcase/doc/multiselect/FormDoc.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/showcase/doc/multiselect/FormDoc.vue b/apps/showcase/doc/multiselect/FormDoc.vue index 7eeac07ee..c4926c1ba 100644 --- a/apps/showcase/doc/multiselect/FormDoc.vue +++ b/apps/showcase/doc/multiselect/FormDoc.vue @@ -27,10 +27,10 @@ export default { city: z .array( z.object({ - name: z.string().min(1, 'Option cannot be empty') + name: z.string().min(1, 'City required.') }) ) - .min(1, 'At least one city should be selected.') + .min(1, 'City required.') }) ), cities: [ @@ -78,10 +78,10 @@ export default { city: z .array( z.object({ - name: z.string().min(1, 'Option cannot be empty') + name: z.string().min(1, 'City required.') }) ) - .min(1, 'At least one city should be selected.') + .min(1, 'City required.') }) ), cities: [ @@ -132,10 +132,10 @@ const resolver = ref(zodResolver( city: z .array( z.object({ - name: z.string().min(1, 'Option cannot be empty') + name: z.string().min(1, 'City required.') }) ) - .min(1, 'At least one city should be selected.') + .min(1, 'City required.') }) )); const cities = ref([