I have some simple angular 2 component with template. How to clear form and all fields after submit?. I can\'t reload page. After set data with date.setValue(\'\')>
date.setValue(\'\')>
Make a Call clearForm(); in your .ts file
clearForm();
Try like below example code snippet to clear your form data.
clearForm() { this.addContactForm.reset({ 'first_name': '', 'last_name': '', 'mobile': '', 'address': '', 'city': '', 'state': '', 'country': '', 'zip': '' }); }