DEV Community

Dharmen Shah for Angular Material Dev

Posted on

3 1 1 1 1

Show Angular Material Dialog to Prevent Unsaved Form Changes

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

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more