I am using Angular 4.4.6 reactive form with Angular Material 2.0.0-beta.12 in my application. This is my component,
import { Component, OnInit } from \'@angu
This seems to be a known bug when having a button of type submit. There are some work-arounds presented in that issue, of which I would use the ngForm directive:
submit
ngForm
TS:
@ViewChild('f') myForm; saveQuickFileForm() { this.myForm.resetForm(); }
This seems to work fine! DEMO