More code comments?
RHF is one of my favorite libraries. As someone new to React with extensive back-end experience, I really appreciate the interface and overall quality of the project from a developer perspective. I have written a few hooks of my own but I am looking to start writing a more…
how to watch field in react (dynamically add useEffect)?
I am trying to watch a field which have watch:true field.In other words I want add useEffect dynamically.I have one json (which is coming from server).I want to watch field value (which have property watch:true).using it's value I want to update other field value . here is my…
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
@bluebill1049 and the other contributors, I just wanted to give some praise for this library. I've been working on something exactly like this and it's funny how similar the two are, but I definitely like the approaches of this library better so I'm in the process of switching…
How to add items in select dynamically in react?
Could you please tell me How to add items in select dynamically in react ? I am getting response from server (name , label etc).For example I just mock my response and after two second I fetch that . In my example I have two select box or drop down .first dropdown have value…
Submitting Partial Data [SOLVED]
Our company has begun integrating RHF into our code (and we really like it, great job!). We've come across an interesting use case. As part of our signup process, we currently have it configured so that if there is any change in the form and there's a subsequent blur event, it…
Input field name with special characters
Hello, I am trying to use react-hook-form with a Input field name with special characters, but the field with special characters doesn't get validated. I have two fields one with special characters '[' and ']' and another without those special characters. …
why required check is not working ?
Hi I am using datepicker.when I click submit button .it is not showing Required error as it is required field.here is my code.I already registered with required and also tried to use rule but still not getting required validation <MuiPickersUtilsProvider…