matStepLabel is not showing the icon - Angular Material

0

I am performing a stepper on a page, and in my matStepLabel it initially shows the number from step "1", when the step is changed, instead of "1" the text "create" appears. I believe this create is actually an icon.

I tried some things like:

I imported:

import {MatIconModule} from '@angular/material/icon';

In my app module;

I've added:

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

in my index.html

Is there anything else you need to do?

This is the result I'm having:

My imports of this stepper:

import {MatStepperModule} from '@angular/material/stepper';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatButtonModule} from '@angular/material/button';
import {MatInputModule} from '@angular/material/input';
import {MatRippleModule} from '@angular/material';
    
asked by anonymous 03.11.2018 / 15:37

0 answers