resolvers
resolvers copied to clipboard
📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
**Is your feature request related to a problem? Please describe.** I'm managing a global state that keeps the form values of multiple forms (each with React Hook Form), To validate...
Moved initialization of Ajv, ajvErrors and the creation of the adjusted schema outside of the Resolver to allow the instance of Ajv to reuse the compiled schema on multiple invocations...
# Issue - https://github.com/react-hook-form/resolvers/issues/627 # Details Because of https://github.com/react-hook-form/resolvers/pull/621, nested object error becomes not consistent when a key of the object is used in `option.names`. **To Reproduce** 1. go to...
### Version Number 5.1.1 ### Codesandbox/Expo snack https://codesandbox.io/p/devbox/jolly-zeh-n2gyl4 ### Steps to reproduce try and submit the form without adding exercise / filling out name field. will return a nextjs stacktrace...
Zod locales and global error customization are not working correctly due to new Metro ES Module resolution. All error messages are "Invalid input" instead of the configured messages from Zod...
# Context When trying out the new Zod v4 mini I noticed that discriminated unions aren't supported. # Changes - Adding discriminated unions to the tests - Using the current...
### Version Number 5.0.1 ### Codesandbox/Expo snack https://codesandbox.io/p/sandbox/react-hook-form-resolver-issue-2t3cqg ### Steps to reproduce 1. Open Codesandbox url 2. See line 13 of src/App.tsx - The following type error occurs. > Type...
This adds a simple js script that is run before builds and commits that collects all peerDependencies from all subfolders together and inserts them into the root package.json. This closes...
### Version Number 5.1.1 ### Codesandbox/Expo snack https://codesandbox.io/p/sandbox/dark-cookies-5xmdf4 ### Steps to reproduce 1. Define a schema that has `z.coerce` 2. Use `useForm` with the generic type parameter that is returned...
### Version Number 5.1.1 ### Codesandbox/Expo snack https://codesandbox.io/p/sandbox/angry-butterfly-ljt6z2 ### Steps to reproduce Please see code sandbox. I get the error when when I conditionally set the `formResolver` ### Expected behaviour...