Closed
Description
Bug, feature request, or proposal:
Feature Request
What is the expected behavior?
It should be possible to cancel the close event.
What is the current behavior?
It is not possible to cancel the close event.
What is the use-case or motivation for changing an existing behavior?
Use-case: Dialog with Form Model which will be sent to the server. So for example, the result of the this server call is an error, which should be displayed inside the dialog and prevent it from closing. Right now, this is only possible if I put the logic (store or service calls) inside the dialog component. This isn’t following the dumb and smart components pattern, where the logic should be put inside the container component.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7, Angular Material 7