menu

React Hook Form

📋 Custom React hooks for form validation without the hassle

Channels
Team
Posts
Members
Info

Upgrading to 3.22.0 is breaking my tests, but I am not sure why.

When upgrading from 3.21.20 to 3.22.0, all my Jest tests that involve forms will fail with the same error: I don't get any errors when running the app. It's just in the Jest tests. It's possible I am doing something wrong and I am investigating, but the error seems pretty vague.…

thumbsup
0
message-simple
8

Sorry we break your app

Looks like v3.22.0 having build issue, which result in default export not found. This has been patched. again I apologize for not testing properly and release the changes. A patch has been released too 3.22.1

thumbsup
2
message-simple
0

Validation Schema and the order of the errors

With an empty firstName and validation schema like this: The error for the field will be the min error. But, I would expect it to show the required error. Maybe I am just too used to Formik, but it seems to make sense to return the first error. Either that, or maybe add a way to…

thumbsup
1
message-simple
23

Validation of create password fields

Consider we have two fields, password and passwordRepeat, password should validate as normal so thats all good. However the passwordRepeat should only apply its validation, eg. to check that it matches the password field, when password is valid. So far I've only seen validation…

thumbsup
1
message-simple
11

`Register({ as: 'number' })` `Register({ as: 'Date' })`

What do you guys think about this API update? basically doing valueAsNumber and valueAsDate behind. pretty much what @stramel suggested. @barry4ui @stramel

thumbsup
1
message-simple
21

[FEEDBACK] The documentations can(Should) be improved

hey i found this package and its awesome. i was just wanted to implement custom validation .i could not find it in the beginning so i would suggest to make the docs more user friendly

thumbsup
1
message-simple
7

Issue #208

I just added some screenshots to the issue @Bill, I will test the beta version in a minute.

thumbsup
1
message-simple
20

Welcome to React Hook Form Spectrum ❤️

Feel free to ask a question or discuss issues here.

thumbsup
1
message-simple
0