From eeacc7cf899558f719efc0b1f31ed6232a971579 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 23 Oct 2024 15:22:53 +0300 Subject: [PATCH] Update SubmitDoc.vue --- apps/showcase/doc/forms/SubmitDoc.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/showcase/doc/forms/SubmitDoc.vue b/apps/showcase/doc/forms/SubmitDoc.vue index e09e1ff36..18efeea58 100644 --- a/apps/showcase/doc/forms/SubmitDoc.vue +++ b/apps/showcase/doc/forms/SubmitDoc.vue @@ -38,16 +38,16 @@ export default { username: z.string().min(1, { message: 'Username is required.' }), password: z .string() - .min(3, { message: 'Password must be at least 3 characters long.' }) - .max(8, { message: 'Password must not exceed 8 characters.' }) + .min(3, { message: 'Minimum 3 characters.' }) + .max(8, { message: 'Maximum 8 characters.' }) .refine((value) => /[a-z]/.test(value), { - message: 'Password must contain at least one lowercase letter.' + message: 'Must have a lowercase letter.' }) .refine((value) => /[A-Z]/.test(value), { - message: 'Password must contain at least one uppercase letter.' + message: 'Must have a uppercase letter.' }) .refine((value) => /\d/.test(value), { - message: 'Password must contain at least one number.' + message: 'Must have a number.' }) }) ), @@ -104,16 +104,16 @@ export default { username: z.string().min(1, { message: 'Username is required.' }), password: z .string() - .min(3, { message: 'Password must be at least 3 characters long.' }) - .max(8, { message: 'Password must not exceed 8 characters.' }) + .min(3, { message: 'Minimum 3 characters.' }) + .max(8, { message: 'Maximum 8 characters.' }) .refine((value) => /[a-z]/.test(value), { - message: 'Password must contain at least one lowercase letter.' + message: 'Must have a lowercase letter.' }) .refine((value) => /[A-Z]/.test(value), { - message: 'Password must contain at least one uppercase letter.' + message: 'Must have a uppercase letter.' }) .refine((value) => /\d/.test(value), { - message: 'Password must contain at least one number.' + message: 'Must have a number.' }) }) )