Skip to content
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

How to pass valued to MDdialogue ? #1377

Closed
santhanam87 opened this issue Sep 29, 2016 · 3 comments
Closed

How to pass valued to MDdialogue ? #1377

santhanam87 opened this issue Sep 29, 2016 · 3 comments

Comments

@santhanam87
Copy link

Bug, feature request, or proposal:

Feature Request

What is the expected behavior?

Pre-populated dialogue window, based on the value from the component or other classes.

What is the current behavior?

No docs provided for that case.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Is there anything else we should know?

@jelbourn
Copy link
Member

The dialogRef has a componentInstance property. You can set whatever values necessary to that. README for dialog will be coming soon.

@santhanam87
Copy link
Author

@jelbourn in dialog-config.ts I saw a DialogRole Parmeter, I like to have similar sort of multiple types of dialogue box like alert, confirm and inline. Is it a better approach to have it along with dialog module or else do I need to create a entry component for each type like jazzdialogue ?

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants