1

私はAngular 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"た。

この完了状態のアイコンが表示されないようにし、「チェック」アイコンを表示せずにカスタムのデフォルト アイコンをそのままにしておくにはどうすればよいですか?

4

2 に答える 2