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,...