You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read properties of undefined (reading 'refs')
at i (https://hdv5hj.csb.app/node_modules/
hookform/resolvers/dist/resolvers.js:1:357
at Object.t [as validateFieldsNatively] (https://hdv5hj.csb.app/node_modules/
hookform/resolvers/dist/resolvers.js:1:431
at u (https://hdv5hj.csb.app/node_modules/
hookform/resolvers/joi/dist/joi.js:1:688
async Object.R [as _executeSchema]
https://hdv5hj.csb.app/node_modules/react-hook-form/dist/index.cjs.js:1:14139
Describe the bug
resolvers/src/validateFieldsNatively.ts
Line 32 in f7a4fd4
field
isundefined
here.To Reproduce
Steps to reproduce the behavior:
Codesandbox link (Required)
https://codesandbox.io/p/sandbox/react-hook-form-joiresolver-hdv5hj
Expected behavior
The error should not happen.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
None.
The text was updated successfully, but these errors were encountered: