Closed enyelsequeira closed 1 year ago
Hi. I haven't used that validation library.
If you're validating a value then it will be undefined
when the input is empty.
is there any way to get around it? @catamphetamine
No
Or do something like value === undefined ? '' : value
.
Hello, first of all thank you for creating the package it has saved me a lot of time.
I have a question, is there a way to change this error? I am using react hook form with it and here is my code. I have a validation schema using zod and have tried to get around without any luck, any chance there a way to change that error?