Reset preview data after submitting the form
Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
OS and Version? windows 10
Versions
@angular-devkit/architect 0.6.8 @angular-devkit/build-angular 0.6.8 @angular-devkit/build-optimizer 0.6.8 @angular-devkit/core 0.6.8 (cli-only) @angular-devkit/schematics 7.3.5 @angular/cdk 6.4.7 @angular/cli 6.0.8 @angular/material 6.4.7 @angular/platform-server 7.2.8 @ngtools/webpack 6.0.8 @schematics/angular 7.3.5 @schematics/update 0.6.8 rxjs 6.0.0 typescript 2.7.2 webpack 4.8.3
Desired functionality
it is previewing nicely. but the problem is after submitting the preview is staying. so, how to reset the preview to null or initial state?
I will implement a function to the service in order to reset the data (I will appreciate your PR ❤️ )