menu

React Hook Form

📋 Custom React hooks for form validation without the hassle

Channels
Team
Posts
Members
Info

best practice with material-ui

Hello, I played around with your lib and found it very interesting. Now I wanted to drop it in to work with Material-UI but as the TextField component requires a value I am not sure how to use it. I'm not that familiar with Material-UI at the moment, maybe the issue is rather…

thumbsup
0
message-simple
24

Connecting HookForm with pre-defined object

How to make from work with my existing object, consider the object as shown below let myCustomObject = { user : { …

thumbsup
0
message-simple
16

onBlur mode

Hi, I started using react hook forms, but now I'm facing an issue and I didn't find a way to solve it. I have some inputs on my form and I'm using it as mode: onBlur. …

thumbsup
0
message-simple
1

v6 Release

Hey Bill, can we know the v6 release schedule. Can't wait to try out new features !

thumbsup
2
message-simple
10
·13d·Pinned# General

Github Diccussion

Hi guys, We are moving more towards Github Discussion for Q&A, please make your way towards there. https://github.com/react-hook-form/react-hook-form/discussions …

thumbsup
1
message-simple
0

Suggestion to avoid community fragmentation

@bluebill1049, I think it's great that you enabled the Discussions on GitHub, that way the code and the talk is in the same place. However, people are still posting questions here, that may be already answered there, or users who search GitHub (probably more than those who…

thumbsup
1
message-simple
2

<ErrorMessage> returns undefined message if there is an error in subform

I have a nested form where I use the <ErrorMessage> to display errors for the arrays itself, mainly if there are restrictions on the number of elements that need to be added. The array elements themselves is also validated as they can be subforms themselves. If there is an error…

thumbsup
0
message-simple
1

What is the alternative to use yup when validationSchema gets deprecated?

The API documentation clearly says that this option will get deprecated in the next major release. What will happen if I'm using yup? (https://react-hook-form.com/api) validationSchema: undefined, // Note: will be deprecated in the next major version

thumbsup
3
message-simple
48

Avoid re-render with Controller when value is updated

Hello everyone :) It seems that the render props is re-executed everytime the field's value is updated. Is it possible to avoid that (my use case is a masked input with IMaskJS which is not compatible with Controller wrapper) ?

thumbsup
0
message-simple
2

Complex input components

Hi everyone. Kind of new here and considering using react-hook-forms for my current project. Done some initial testing and looks VERY promising for most use cases. But I know that at some point I'm going to handle some more complex user inputs. So just looking for some advice if…

thumbsup
0
message-simple
0