-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add value to md-dialog-close attribute #4421
Comments
devversion
added a commit
to devversion/material2
that referenced
this issue
May 8, 2017
* Values can be bound to the md-dialog-close directive and the value will be returned automatically to the `DialogRef`. Closes angular#4421
devversion
added a commit
to devversion/material2
that referenced
this issue
May 8, 2017
* Values can be bound to the md-dialog-close directive and the value will be returned automatically to the `DialogRef`. Closes angular#4421
Done with #4332 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request
What is the expected behavior?
It should be possible to assign a value to the md-dialog-close attribute which will be next value of the afterClose observable. For example:
or
What is the current behavior?
md-dialog-close
closes the dialog but doesn't pass a value.What is the use-case or motivation for changing an existing behavior?
To simplify the implementation of a md-dialog component.
Which versions of Angular, Material, OS, browsers are affected?
The text was updated successfully, but these errors were encountered: