React Hook Form + Zod: useForm formState returning proper isValid value, but errors is empty
I am using useForm react hook + zod for validation schemas.
From the formState all values returned are as expected, but the “errors” object. I am trying to set hasError of an input and no matter the value “errors” is always empty.
React Hook Form + Zod: useForm formState returning proper isValid value, but errors is empty
I am using useForm react hook + zod for validation schemas.
From the formState all values returned are as expected, but the “errors” object. I am trying to set hasError of an input and no matter the value “errors” is always empty.
React Hook Form + Zod: useForm formState returning proper isValid value, but errors is empty
I am using useForm react hook + zod for validation schemas.
From the formState all values returned are as expected, but the “errors” object. I am trying to set hasError of an input and no matter the value “errors” is always empty.