Manually update internal form state #10318
Unanswered
PetarMilisavljevic
asked this question in
Q&A
Replies: 1 comment
-
You could use https://github.com/bombillazo/rhf-plus/blob/master/docs/form-metadata.md |
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 want to persist the form state without submitting the actual form. I am currently storing the form state in my redux.
The purpose of this is the possibility to have multiple forms and switching between them. Now, the issue is that i want to persist dirty fields and all "metadata" about the changes. This is why I am saving the form state in redux.
But the issue i have with this is that i cannot actually update the internal form state. I tried using the function from control as below:
But that does not seem to work. Is there a way I could update the form state manually?
Beta Was this translation helpful? Give feedback.
All reactions