-
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
Ability to pass data to a ComponentPortal #8322
Comments
I think you can inject this data by using Injector |
@atishin Errr... How do you inject data? |
@josephperrott My ComponentPortal seems unable to resolve some dependencies of root provided services. What's required to inject Services next to the injected Data? thanks! |
link for dialog |
@josephperrott is there a way to simply pass @input data using |
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:
I'm trying to pass data to a portal (I'm using
ComponentPortal
), but so far, there's no possible way to do so.What is the expected behavior?
Able to pass data to a
ComponentPortal
What is the current behavior?
Can't pass data to a
ComponentPortal
What are the steps to reproduce?
Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on
@master
): https://goo.gl/uDmqyYStackBlitz starter (using latest
npm
release): https://goo.gl/wwnhMVWhat is the use-case or motivation for changing an existing behavior?
I want to show a code snippet with a param passed in as part of the code snippet.
Something like this:
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
NIL
The text was updated successfully, but these errors were encountered: