Ramco Ramco

Ramco Ramco

  • 443
  • 3.4k
  • 513.7k

Close Angular Material Dialog

Jun 7 2024 5:14 AM

Hi

 I am using  Angular Material dialog. I want when user clicks Cancel button it should gets closed.

<div mat-dialog-title>
    <h4> Employee Form </h4> 
</div>

<form [formGroup]="empForm" ngSubmit="Save()"> 
    <div mat-dialog-content class="content"> </div>

</form>

Thanks


Answers (2)