Closed
Description
Bug, feature request, or proposal:
Passing things into the second component seems obscure. I can't readily pass in values to the second component to display on modal popup.
What is the expected behavior?
When the modal popup is displayed... information such as variables will display accordingly {{data.here}}
What is the current behavior?
Not working
What are the steps to reproduce?
pass in variables to the new value
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
https://plnkr.co/edit/dhZ4UldIlQKDPvrjJP2f?p=preview <<< this is example from Material
export class DialogResultExampleDialog {
title: string = 'book';
constructor(public dialogRef: MdDialogRef<DialogResultExampleDialog>) {}
public testFunction(errorMsg: string) {
console.log('this is a test999999 ' + errorMsg);
}
}
What is the use-case or motivation for changing an existing behavior?
To be able to pass in data / variables to the modal dialog popup upon request.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.4.1
Is there anything else we should know?
Metadata
Metadata
Assignees
Labels
No labels