🚧 (wip) create form provider

This commit is contained in:
2025-10-16 00:28:20 +07:00
parent fcc131d4ee
commit fbcb575a36
5 changed files with 69 additions and 46 deletions

View File

@ -2,7 +2,7 @@ import { z } from "zod";
export const registerFormSchema = z
.object({
fullname: z.string().min(1, "Full name is required"),
fullname: z.string().min(4, "Full name must be at least 4 characters long"),
email: z.email("Invalid email address"),
password: z
.string()