Skip to content

Replies

0
Jean-Paul Saade
Jean-Paul Saade answered on Sep 9, 2021 8:44 AM

For simplicity reasons, I was able to mimic the original error here.

0
Jean-Paul Saade
Jean-Paul Saade answered on Sep 9, 2021 7:40 AM

Hello again,

So I was able to implement your solution, but now I am receiving a new error:

Thank you again!

0
Jean-Paul Saade
Jean-Paul Saade answered on Sep 8, 2021 10:13 AM

Hello Tihomir,
I have tried your solution by creating and providing the token in app.module.ts, and proceeded to inject it in `dropdown.component.ts` constructor but I am still receiving the same error.
Should I provide the token in another module? Or inject it in the header component?
Also if I have to inject it in the header component, that would mean i'd have to do it in each component that might import my custom dropdown module.
Thank you