I have Angular form (not reactive):
<form #form="ngForm" (submit)="submit(); form.reset()">
<input ... />
</form>
But form does not reseting after submit, and inputs still marked as touched.
Please, explain, how can i reset form in Angular 5?
StackBlitz: https://stackblitz.com/edit/reset-form-demo-jdsdwe2
What i want: Clear focus and mark as untouched after submit.
[ngModelOptions]="{standalone: true}"and give a name to the input element. See this stackblitz. - ConnorsFan