📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts and VineJS
1.67k
stars
151
forks
source link
Issue with Resolvers tranform #662
Closed
jmtwr closed 4 months ago
Hi, I found one annoying, some time ago the next feature was broken.
PROBLEM:
CODE SANDBOX EXAMPLE > https://codesandbox.io/p/sandbox/react-hook-forms-resolvers-issue-mpyd39?file=%2Fsrc%2FApp.tsx%3A7%2C26
POSSIBLE SOLUTION Add few lines of code into createFormControl file![image](https://github.com/react-hook-form/resolvers/assets/91373398/5060352e-0c7c-4eaf-89d8-db226bd6b285)
Perhaps there is a more graceful solution to this problem. Thanks!