mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
🐛 Set max length for name on client side form
This commit is contained in:
parent
a7d1fa9a5c
commit
e777e673a3
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
export const registerNameFormSchema = z.object({
|
export const registerNameFormSchema = z.object({
|
||||||
name: z.string().min(1),
|
name: z.string().min(1).max(100),
|
||||||
email: z.string().email(),
|
email: z.string().email(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue