Fileupload breaks http requests interceptor cycle when imported in a standalone context #15360
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Hi!
Say we have a standalone app
Everything works fine until I import the Fileupload component.
From this import, the interceptor is ignored.
It's because Fileupload imports itself HttpClientModule which is incompatible in standalone context.
I'm going to make a pull request to suggest the fix.
Environment
angular 17 standalone app
Reproducer
https://stackblitz.com/edit/github-7yclho?file=src%2Fapp%2Fapp.component.html
Angular version
17.3.5
PrimeNG version
17.14
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: