Show Angular Material Dialog to Prevent Unsaved Form Changes

Dharmen Shah - Sep 24 - - Dev Community

Angular material's dialog's afterClosed method returns an Observables.

This makes them work great with canDeactivate route guards for unsaved changes in forms:

Image description

. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player