#canSubmit not resetting when using form.Subscribe when form inputs are invalid

2 messages · Page 1 of 1 (latest)

warm wing
#

When I click the submit button on my form using form.Subscribe when the fields are all empty, it sets the form to be in the !canSubmit/isSubmitting state and just hangs there requiring a full page reload to reset the state.

Should I add some formApi call in my onSubmit (within useForm) to reset the field without clearing the inputs? I am also using validators on each input field.

hollow edge
#

Requiring a full page reload? That sounds weird.
Can you reproduce the issue on a stackblitz? You fork one of the demos