I am aware that Angular 2 currently lacks a way to easily reset a form to a pristine state. Poking around I have found a solution like the one below that resets the form f
If you call only reset() function, the form controls will not set to pristine state. android.io docs have a solution for this issue.
reset()
component.ts
active = true; resetForm() { this.form.reset(); this.active = false; setTimeout(() => this.active = true, 0); }
component.html