From 25b49e23b594422b7695a5a588bd3c516848a40c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 23 Oct 2024 16:24:08 +0300 Subject: [PATCH] Update FormsDoc.vue --- apps/showcase/doc/slider/FormsDoc.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/showcase/doc/slider/FormsDoc.vue b/apps/showcase/doc/slider/FormsDoc.vue index 452d6002b..1472576ea 100644 --- a/apps/showcase/doc/slider/FormsDoc.vue +++ b/apps/showcase/doc/slider/FormsDoc.vue @@ -26,7 +26,7 @@ export default { }, resolver: zodResolver( z.object({ - slider: z.number().gt(0, { message: 'Must be greater than 0.' }).lt(10, { message: 'Must be less than 50.' }) + slider: z.number().gt(25, { message: 'Must be greater than 25.' }).lt(75, { message: 'Must be less than 75.' }) }) ), code: { @@ -64,7 +64,7 @@ export default { }, resolver: zodResolver( z.object({ - slider: z.number().gt(0, { message: 'Must be greater than 0.' }).lt(10, { message: 'Must be less than 50.' }) + slider: z.number().gt(25, { message: 'Must be greater than 25.' }).lt(75, { message: 'Must be less than 75.' }) }) ), } @@ -105,7 +105,7 @@ const initialValues = ref({ }); const resolver = ref(zodResolver( z.object({ - slider: z.number().gt(0, { message: 'Must be greater than 0.' }).lt(10, { message: 'Must be less than 50.' }) + slider: z.number().gt(25, { message: 'Must be greater than 25.' }).lt(75, { message: 'Must be less than 75.' }) }) ));