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

🐞 - Local providers are not injectable in template #764

Open
kolem1 opened this issue Dec 25, 2024 · 1 comment
Open

🐞 - Local providers are not injectable in template #764

kolem1 opened this issue Dec 25, 2024 · 1 comment

Comments

@kolem1
Copy link

kolem1 commented Dec 25, 2024

Reproduction url

https://stackblitz.com/edit/angular-nurv9fw2

Description

Component can not inject Service provided in the module of this component.
For reproduction need to click on the button in StackBlitz

Taiga UI version

Taiga-ui - 4.17.0, Taiga-ui/polymorpheous - 4.7.4

Browser Used

Chrome

OS Used

macOS

@waterplea
Copy link
Collaborator

Correction: local providers work, the issue is with local EnvironmentInjector, if the service was provided in component, rather than in the module — it would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants