My form opens like so:
<form novalidate #f="ngForm" (ngSubmit)="addPage(f)">
However, after successful submission I stay on the page and then validation messages pop up even though i don't want them to, so how do I reset form after submission?
The method that submits the form goes like so:
addPage({ value, valid }) {
I tried squeezing in f
in there and then doing f.resetForm() but that didn't work out.