【发布时间】:2019-09-12 04:37:13
【问题描述】:
我正在使用 mat-radio-buttons。 我预期的 UI 应该是这样的,
使用以下代码,
<mat-radio-group name="employeeType" formControlName="employeeType" fxLayout="row">
<mat-radio-button *ngFor="let type of employeeTypes" (change)="showFieldByEmployeeType($event)"
[value]="type.name">
{{ type.name}}</mat-radio-button>
</mat-radio-group>
但我明白了,
是否有任何有用的 CSS 让它看起来像预期的那样?
【问题讨论】:
标签: css radio-button material-design angular8