menu
Channels
Team

React-Hook-Form watercooler

July 31, 2019 at 1:06am
Show previous messages

December 10, 2019 at 3:30pm
I will have to find a way because I have 30 fields or more in my form
  • reply
  • like
I just posted an example on how to achieve that :)
  • reply
  • like
doing that with 30 fields ...
  • reply
  • like
30 fields in subForm or in mainForm?
  • reply
  • like
also tried in that way and didn't work
  • reply
  • like
everything get reseted
  • reply
  • like
actually look like the library is form-scope aware because the getValue of the subform only returns the values of the subform and not the ones from the mainform
  • reply
  • like
thank anyway, I set the values to undefined in the subform which is only 6 fields
  • reply
  • like
for me was weird that getValues and triggerValidatin was form-scope but no the reset
  • reply
  • like
We can continue our discussion here
  • reply
  • like
private
This conversation has been locked