我正在使用角度 8.2.4 和水平垫步进器。我已经在每个步骤中自定义了图标,并且一旦访问了每个步骤,我就不需要显示“勾号”图标(对应于完成状态)。这就是它现在的样子。
`<mat-horizontal-stepper #stepper [linear]="true" class="register-stepper">
<!--<ng-template matStepperIcon="done">
<mat-icon>done</mat-icon>
</ng-template>-->
<ng-template matStepperIcon="user">
<mat-icon>account_circle</mat-icon>
</ng-template>
<mat-step [completed]="true" state="user">
<ng-template class="form-control" matStepLabel>Basic</ng-template>
<h4 class="cgg-component-heading">Basic Information</h4>
</mat-step>
</mat-horizontal-stepper>`
我已经删除了the matStepperIcon="done"
。
如何避免显示完成状态的图标并保持自定义默认图标不变而不显示“勾号”图标?