You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to show the local variables in the md-dialog template???? I want to display the value of item
@Component({
template: `
<p>This is a dialog</p>
<p>
{{item}}
<label>
This is a text box inside of a dialog.
<input #dialogInput>
</label>
</p>
<p> <button md-button (click)="dialogRef.close(dialogInput.value)">CLOSE</button> </p>
`,
})
export class DialogContent {
constructor(@Optional() public dialogRef: MdDialogRef<DialogContent>) { }
}
Activity
crisbeto commentedon Dec 6, 2016
Try the suggestion from here. We should probably document this option a little bit better.
EDIT: Seems like we already have #1947 to keep track of this. I'll close the issue as a dupe.
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.