handleSubmit removed from useFormContext
With the latest release, handleSubmit was removed from the typing of useFormContext. Was this an intended removal? I guess I could destructure handleSubmit from useForm() and pass it to my FormComponent as a prop, but kinda defeats the purpose of the context pattern?
Some changes needed to the Smart Component Example
I feel like the Smart Component example you guys are showing is a tad limited because it uses the React.createElement function which limits the form components (What if I add a <fieldset> in my form? or even add a React Fregment?) I'm suggesting using Context to pass Register to…
'Debounce' validation trigger mode
Hello. I am not an experienced web-developer. Just have read an article about debounce and throttling and I am wondering why these techniques are not built-in in libraries like formik/RHF? Triggering validation on each character input is a bad performance practice. But…
Is react-hook-form using the new HTML5 "type" attribute?
Hi, I'm trying to use react-hook-form with material-ui (yeah, thumbed up on github) and I was hoping it would set the error style when a leave a input type="email" when I fill it with something that isn't an email. More broadly how much (if any) of the Constraint validation API…
Is it possible to have More than one useForm hook in one component?
I have a situation where I need to have an additional form in the same component. I was wondering if I can use useForm again (which implies I would have to rename the returned values) or I can just add new values to it and use it for another form. Anyway I went for the second…
NOT my question
Hey there, I have a problem where i have created a input field with type file and i have registered it into hooks now the problem is the form is an edit form so initially i have to display the previous selected image name on form so user has an option if he wants to change the…