Using Zod transform #4226
Answered
by
logaretm
KieranSunshine
asked this question in
Q&A
Using Zod transform
#4226
-
Has anyone been able to use Zod's transform functionality in their form schema? I've been trying to make some use of it alongside vee-validate as I have an input that is intended for comma delimited email addresses. Using transform I can take that string and parse it into an array of string emails validated by zod. However, this seems to make the properties of SubmissionHandler values partial? Anyone able to shed some light on where I'm going wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
logaretm
Apr 23, 2023
Replies: 1 comment 4 replies
-
Got a code example? I can take a look. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed in 93228b7 will tag a new release with the fix soon.