menu
Channels
Team
Posts
Members
Info

Error set using setError disappears right away

Hey, Thanks for this amazing hook ! I just started to learn & use React and I definitely do not regret it when I see this quality of work ! Context: …

thumbsup
0
message-simple
3

How to reset only one input fields with react-hook-form

trying to reseting the one fields through reset({}) but it reset all other fields in the form. please help

thumbsup
0
message-simple
2

How to add validation for Controller fields

Hi there, I am back again with another sort of query... this time I am using react-select with Controller api https://react-hook-form.com/api/#Controller …

thumbsup
0
message-simple
25

How to limit user to only enter integers not including decimal

How to limit user to only enter integers not including decimal and it should not start with 0? used const newValue = e.target.value.replace(/[^\d]/, ""); but it doesn't work properly here demo https://codesandbox.io/embed/flamboyant-browser-n995t?file=/src/App.js

thumbsup
0
message-simple
5

React native - test app using react-native-testing-library

Hi everyone, We are developing an app using react native and we have some issues testing it. As an example, we want to test the scenario you are providing in the website for react native. …

thumbsup
2
message-simple
22

How to connect to Autocomplete in Material-UI

I'm looking at this example https://material-ui.com/components/autocomplete/#country-select and not sure how to connect react-hook-form to it. I started using watch and setValue with the onChange prop in Autocomplete. That kind of worked. But then when setting a default value…

thumbsup
1
message-simple
59

There is a problem in Material-UI Autocomplete/Textfield. You need to type…

thumbsup
0
message-simple
10

Multiple inputs — same form data

I'm struggling with getting multiple inputs to control the same piece of form data. If the desired end result is something like: { …

thumbsup
0
message-simple
1

Using input type file with RHF

Hello I'm trying to use RHF with an input type file, it works pretty well but the system that I want to build has some partialities and I don't know how to support it in RHF. Basically, when I up a file and submit and do a refresh at the form, the server going to return a URL…

thumbsup
0
message-simple
1

Getting A Child error when using Controller.

Hello, I am trying to add a controller to use material-ui and I an encountering this error: 1.Added : …

thumbsup
0
message-simple
27