如何将Mat单选按钮设置为看起来像复选框的样式

时间:2020-08-19 16:53:17

标签: angular radio-button

选中单选按钮后,我想用勾号(线复选框)而不是点号来表示。

<mat-radio-group class="example-radio-group" [(ngModel)]="row.selected">
      <mat-radio-button  class="example-radio-button" *ngFor="let season of texts"
                      [checked]="false" [value]="season.Answer_Id">
                      <span class="answer"> {{season.Text}} </span>
      </mat-radio-button>
 </mat-radio-group>

任何帮助将不胜感激。提前致谢!!!! enter image description here

0 个答案:

没有答案