-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Multiple Angular Extensions params #673
Comments
Yeah there is not much we can do. The injection is Angular global - this is one of the reasons we have the Remark: We did not remove |
(We'll stress this in the docs) |
Hi, sorry I'm getting back to you just now. I'm having troubles using the props from Do you have an example somewhere of how to use it inside |
It's a good question, because What I always like to use is simply a getter / setter for the Nevertheless, the tip might not be good enough for you if you are forced to use |
Bug Report
Prerequisites
Environment Details and Version
Piral 1.4.3
Angular 17
Description
If you have two or more of the same Angular extensions on the same page with different params, logging params from the extension will log params that are passed down for first extension.
Steps to Reproduce
Expected behavior
It will log
{ foo: '1' }
twice.Actual behavior
It should log
{ foo: '1' }
and{ foo: '2' }
Possible Origin/Solution
When using
@Input('Props')
and showingfoo
somewhere inside html, it's working fine, only when using@Inject('Props')
Piral is failing to provide params that are passed specifically for other instances of the same extension.The text was updated successfully, but these errors were encountered: