首页 > 解决方案 > 在 mat-select multiple 中更改复选框的大小

问题描述

我目前正在构建一个角度应用程序。我在我的项目中使用了 mat-select,但复选框没有按预期出现。使用https://material.angular.io/components/select/overview做到了这一点

在此处输入图像描述

这是我的代码

<mat-select class="c-input" multiple>
   <mat-option *ngFor="let topping of toppingList" [value]="topping">{{topping}}</mat-option>
</mat-select>

我已经在 StackOverflow 上搜索了问题,但没有找到令人满意的答案。我希望有人回答这个问题。

先感谢您。

标签: angularjsangular-material

解决方案



推荐阅读