menu
Channels
Team

Resetting subForm while retaining the mainForm

December 10, 2019 at 3:39pm

Resetting subForm while retaining the mainForm

December 10, 2019 at 3:39pm
not my issue though, , we can continue our discussion here

December 10, 2019 at 3:40pm
If you can replicate your form setup in a codesandbox, that would great
  • reply
  • like
so that we can talk through on what went wrong in my snippet
  • reply
  • like
and to solve your issue
  • reply
  • like
  • reply
  • like
I will try to replicate in the codesandbox
  • reply
  • like
Thanks.
  • reply
  • like
No, thank you for taking the time looking into this
like-fill
2
  • reply
  • like
You don't need to replicate the whole thing. :) You can just provide some
  • reply
  • like
No problem.
  • reply
  • like
yes I will no put 30 fields but 29 :)
  • reply
  • like
how about only give at least 3 for mainForm and subForm?
  • reply
  • like
yes I will do that, but now I will be out for a while, I will come back with the full example
like-fill
1
  • reply
  • like
I'll probably check it by tomorrow
  • reply
  • like
That is not a problem, I really appreciate that
  • reply
  • like
I will try to do it now very quick
  • reply
  • like
Nope. You don't need to rush this one. It's getting late here. I'll just check it by tomorrow
  • reply
  • like
not reseting in this case
  • reply
  • like
but don't worry, when ever you can
  • reply
  • like
You have two independent form. Is it really not possible to combine it in one form?
  • reply
  • like
no, the purpose of that subform is to add elements to a list, I didn't put the list in the example, that requires more time
  • reply
  • like
Now, I'm starting to think that this may be a bug
  • reply
  • like
can be, because getValue work independent in each form, also the triggerValidation
  • reply
  • like
However, when I tried to move the SubForm outside the form tag it works
  • reply
  • like
and both work fine
  • reply
  • like
Show more messages