-
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
Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'. #8911
Comments
Did you import the
|
WOW!!! that was the problem thank you very very much!! :) |
I think you can close the issue as it is not Angular Material's fault ;). |
If you're opening a dialog with This is very easy to forget, and the dialog will open - it's just that then all dialog directives (including mat-dialog-actions / mat-dialog-title and mat-dialog-content will not work). |
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. |
Bug, feature request, or proposal:
Hi, I'm trying to work with a tutorial about modal in angular 5 -> https://material.angular.io/components/dialog/overview
and it's not working it giving me the error
Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'.
here is my HTML code:
Warning
Are you sure you want to delete the book {{data.title}} ?
thanks.
The text was updated successfully, but these errors were encountered: