Thanks to community member: github0013!
What makes a great community: is when everyone helps each other. In the past few weeks, @github0013 have helped many questions, people, issues at spectrum. I would like to thanks him personally <3. We should all help each other if we can. You may learn new thing during helping…
New DeepPartial for defaultValues is causing issues with reset
I have a function in my Form component that resets the form to defaultValues: With the update to v4.4.3, defaultValues is now typed as a DeepPartial, but reset's argument is still typed as Partial. This fails a type check for my component.
Should setError prevent form submission?
Hi, first things first: Thank you for this awesome library. so... i was trying to create a form which has a radio group that would decide which input should be required,so i used watch and setError to achieve that but i noticed that the form gets submitted even when the errors…
Is it possible to unset a field?
I want to completely remove a field if no values are provided. How can this be done? I have the following example: https://codesandbox.io/s/inventory-search-1f9y1 If operator is not defined (src/elements/CompareableInput/component.tsx), I want it to unset name on the current…