Show Angular Material Dialog to Prevent Unsaved Form Changes
Oct 7, 2024
Angular material’s dialog’s afterClosed method returns an Observables.
This makes them work great with `canDeactivate` route guards for unsaved changes in forms:
Angular material’s dialog’s afterClosed method returns an Observables.
This makes them work great with `canDeactivate` route guards for unsaved changes in forms:
Developer @ solvative.com, Blogs @ http://blog.shhdharmen.me, Open source @ http://github.com/shhdharmen, Writer @ indepth.dev