Saša Gašparović

Results 1 comments of Saša Gašparović

Solution for close dialog conditionally. disable close = true; `closeDialog() { if (this.profile.form.dirty && confirm('You have unsaved changes! Are you sure you want to continue?')) { this.dialogRef.close(); } }` `this.dialogRef.keydownEvents().subscribe(key...