Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://fonts.googleapis.com https://.fontawesome.com https://.isifid.com ". Either the 'unsafe-inline' keyword, a hash ('sha256-47DEQpj8HBSa+/XXX'), or a nonce ('nonce-...') is required to enable inline execution.
#How to solve CSP error for Angular Material?
4 messages · Page 1 of 1 (latest)
why are you inlining that style?
already I removed the inline styles, but getting that error yet, I think it occurs automatically due to Angular Material
Yes, I missed the material part.
As framework in general, it's been addressed:
https://github.com/angular/angular/commit/17e9862653758ebdbd29771cd4ec8a59436497d6
The promise for an Angular Material follow up could have been not fullfilled yet