<igx-dialog #PasswordChangeDialog> <div class="card" style="width:450px;"> <div class="igx-grid-toolbar--compact"> <span class="igx-grid-toolbar__title">Change Password</span> <div class="igx-grid-toolbar__custom-content"> <button type="submit" accesskey="s" igxButton="outlined" displayDensity="compact" (click)="ChangPassword()" [disabled]="false"> <div class="igx-grid-toolbar__button-space"> <i class="far fa-save"></i> <span> Save</span> </div> </button> </div> </div>
</div>
</igx-dialog>
I want to prevent closing of dialog box when user clicks on escape button . This screen is mandatory and we don't want to close it without saving it. Now user can close this dialog on pressing escape button . Please anyone let us know how to do this.
Hi Sani, are you able to achieve this requirement?