Update defaultValues
#418
-
let's imagine we have a stateful form (like edit profile) and if the submit is successful, we update the state and now the new state of the form should be default there is currently no way to update defaultValues manually is it possible to update defaultValues manually |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The way to reset default values is with
Is there a case where that doesn't work? I do think adding an option eventually that let's you reset the form reactively makes sense, but it's definitely possible to handle that case now. |
Beta Was this translation helpful? Give feedback.
The way to reset default values is with
resetForm
Is there a case where that doesn't work?
I do think adding an option eventually that let's you reset the form reactively makes sense, but it's definitely possible to handle that case now.