SoCreate/angular-playground

Playground not showing icon outline of Material

jqr91 opened this issue · 0 comments

jqr91 commented

Versions

    "angular-playground": "^10.0.1"
Angular CLI: 14.0.3
Node: 16.13.2
Package Manager: npm 8.3.0 
OS: darwin x64

Angular: 14.0.3
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1400.3
@angular-devkit/build-angular   14.0.3
@angular-devkit/core            14.0.3
@angular-devkit/schematics      14.0.3
@schematics/angular             14.0.3
rxjs                            7.5.5
typescript                      4.7.4

Repro steps

When the fake icon registry is loaded into the app.component like this:

constructor(private iconService: IconService) { this.iconService.registerIcon(); }

and the iconService like this:

public registerIcon() { this.iconRegistry.setDefaultFontSetClass('material-icons-outlined'); }

this happens:

Schermata 2022-07-19 alle 17 25 56

How can I solve this problem? Any solution?

Thanks