Replies: 2 comments 3 replies
-
Have you checked their documentation on using reset? You can also share the code so I can have a look. |
Beta Was this translation helpful? Give feedback.
3 replies
-
After MUCH debugging work, I think I traced it down to the If someone could confirm this is how it works and that it is correct, that would be great! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a situation where I'm trying to call
reset
from inside my resolver. Gettingreset
in there to begin with is a bit of a dance, but it works. The next problem is that I when I callreset
it will trigger validation again, so my resolver gets executed again, which callsreset
again... i.e. it gets stuck in a loop.I would use
setValue
except for the note in the documentation that says it shouldn't be used for field arrays.So my question is, is it possible to call
reset
without triggering validation? Or is there another approach withsetValue
that could work "safely" with field arrays?Beta Was this translation helpful? Give feedback.
All reactions