menu
Channels
Team
Posts
Chat
Members
Info
down-caret
·43d·Pinned# General

Support us by leaving a start ⭐️@github

React Hook Form is backed by our contributors, team members and myself. If you find React Hook Form to be useful in your React project, please star to support the repo and contributors ❤ Help us to help you better. …

thumbsup
18
message-simple
0

How can I submit a form that exist in a step wizard?

I have a submit button to go to next step living 3 levels up from the RHF form, which dispatches a function(validateStep1) to validate two forms one is the RHF form the other is an externally imported unrelated form. I need to submit the RHF form, then validate here if it is…

thumbsup
0
message-simple
47

loading async data with Material-UI TextField

calling reset() on Material-UI TextField overlaps label and value. Is there any solution to this yet?

thumbsup
0
message-simple
12

Create a validation error if number of elements in array less than needed?

For example, the number should be 2

thumbsup
0
message-simple
6

Possible bug with field arrays ending up in an empty object

I am trying to work the new useFieldArray into my code, but running into a problem with properly maintaining the array of objects. Here is a simple sandbox to show the issue I am seeing: https://codesandbox.io/s/react-hook-form-usefieldarray-f0v7b …

thumbsup
0
message-simple
21

How to find out which submit button has been clicked onSubmit?

Right now my team is discovering on how to find out which submit button has been clicked (when there are multiple submit buttons). F.e. if you have an invitation form, where you can either submit your party acception or your party declining (acceptButton has value="accept",…

thumbsup
0
message-simple
11

Is this stackoverflow answer from @bluebill1049 on controlling ant-design up to…

Is this advice still operative? https://stackoverflow.com/questions/58833574/how-to-use-react-hook-form-with-ant-design-or-material-ui It seems like using the new <Controller /> component is the operative advice.

thumbsup
0
message-simple
6

Field Array - load values

Should something like this not be possible? Also tried with setValue and didn't work. https://codesandbox.io/s/react-hook-form-usefieldarray-7w2hw?fontsize=14&hidenavigation=1&theme=dark

thumbsup
0
message-simple
30

useFieldArray Isn't Deleting Correct Index

I am still seeing issues in my implementation for useFieldArray in my code. As a result I have been trying to make a codesandox that I created resemble my code more closely: https://codesandbox.io/s/react-hook-form-usefieldarray-modular-robsu In this example: 1) Click Add …

thumbsup
0
message-simple
21

What am I missing?

Hey, I'm testing out react-hook-form, but I can't seem to get the values to update with a deep nested component, useFormContext and Controller-component from APIs. Selecting values form the React-Select component inside my deeply nested component sets the values with setValue…

thumbsup
0
message-simple
6

useFieldArray and getValues

Starting here instead of submitting an issue or question on the repo. I think there may still be some issues with useFieldArray. https://codesandbox.io/s/react-hook-form-usefieldarray-wx2s7 That sandbox is there to illustrate an issue that I see in the app that I am working on.…

thumbsup
0
message-simple
19