You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on docs, submitted is filled by revalidation:
submitted: set to true once the form has been submitted.
I'm using the same form to allow an user to submit new entries repetitively. After successful submission I need to reset the form to the initial state, as if wasn't even touched:
submitted = false,
form = initialState,
and other internal state,...
The text was updated successfully, but these errors were encountered:
Based on docs,
submitted
is filled by revalidation:I'm using the same form to allow an user to submit new entries repetitively. After successful submission I need to reset the form to the initial state, as if wasn't even touched:
submitted = false
,form = initialState
,The text was updated successfully, but these errors were encountered: