Closed tcolinpa closed 1 year ago
Describe the bug Type error on zodResolver(), unable to trace error.
To Reproduce
Codesandbox link (Required) Codesandbox
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context react: 18.2.0 react-dom: 18.2.0 zod: 3.19.1 react-hook-form: ^7.12.2 @hookform/resolvers: ^3.2.0
This was caused due to mismatched versions of zod in a pnpm monorepo
Updated all to 3.21.4 and it fixed.
Cheers to #540
Describe the bug Type error on zodResolver(), unable to trace error.
To Reproduce
Codesandbox link (Required) Codesandbox
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context react: 18.2.0 react-dom: 18.2.0 zod: 3.19.1 react-hook-form: ^7.12.2 @hookform/resolvers: ^3.2.0