Arshad Mehmood

Search the blog

    Disable closing the dialog on clicking outside the dialog window in Angular

    angular21 min read

    When you are opening your dialog, open it with this paramter:

    this.dialog.open(AppDialogComponent, {
    disableClose: true
    });

    It will disable closing the dialog, on clicks outside the dialog.