Sikari
ZZod
•Created by Gludek on 5/11/2024 in #questions
Gludek - Just to confirm z.string().email() can...
Perhaps you're looking for:
8 replies
ZZod
•Created by Gludek on 5/11/2024 in #questions
Gludek - Just to confirm z.string().email() can...
Your form most likely is not passing
null
or undefined
, most likely you have ""
8 replies
ZZod
•Created by Gludek on 5/11/2024 in #questions
Gludek - Just to confirm z.string().email() can...
I don't see why it wouldn't be able to,
nullish
just adds undefined | null
to the type.8 replies
ZZod
•Created by shadi on 4/28/2024 in #questions
shadi - hey everyone, i've been struggling with...
You have to manually type either direction of the types, for example:
4 replies