menu
Channels
Team
Posts
Members
Info

Problem

Hello, Im using checkbox (material ui but doesnt amtter, I tested on native) in multistep form and then after each step Im checking validation using trigger. It works really good but after Im getting back to previous step it loses ref somehow and Im getting: Step code:

thumbsup
0
message-simple
3

Vote: is Form State `isValidating` necessary?

https://twitter.com/HookForm/status/1339155959076122624

thumbsup
0
message-simple
0

Vote for new `useController` API

https://twitter.com/HookForm/status/1333528420559425536

thumbsup
0
message-simple
0

Re-use a form in another form

Hey guys, i have an issue with my RHF project. I created a big form (with a submit button), in which i use another form i previously created (basically the component is a list with a "add' button, which raises a form with a submit button also). In my case, when i validate my鈥

thumbsup
0
message-simple
4

Behavior of setValue is inconsistent

Example: https://codesandbox.io/embed/react-hook-form-formstate-dirty-touched-submitted-4truq When you have nested values, calling setValue this way does not dirty the form: You need to call it like: 鈥

thumbsup
0
message-simple
4

Controller sending in default onBlur

Hi, Will Controller send the default onBlur method of react-hook-form to the component enclosed in "as"? In that case, how can we avoid it and send undefined instead? Because I don't want the onBlur function from react-hook-form to be triggered. I'm using V5.

thumbsup
0
message-simple
16

useFieldArray Watch

Hi, Below is the scenario. If I have a text fields and dropdown in the field array and I want to know the all dropdown values upon any dropdown change in the array, what is the better approach? I see the docs say 'watch' is not recommended, is there any way I can get the values.

thumbsup
0
message-simple
3

Hello, How to get an input field when the user selects 鈥淥ther鈥 in a dropdown

I have a select input if user select other it should get an input field and make this input is register and the select DropDown is unregister

thumbsup
0
message-simple
1
95dPinned# 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
6
message-simple
2

working example of react-hook-form with jest and enzyme

Hi I couldn't find a single working example of react-hook-form with jest and enzyme and can't use react-testing-library Can anyone help me here

thumbsup
0
message-simple
1