Skip to content

Playground not showing icon outline of Material #313

Open
@jqr91

Description

@jqr91

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions