angularjs - 在 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 上搜索了问题,但没有找到令人满意的答案。我希望有人回答这个问题。
先感谢您。
解决方案
推荐阅读
- c# - 如何避免两个 foreach 循环并有条件地将属性值从一个分配给另一个?
- javascript - 我们可以在使用 typescript (ts,tsx) 构建的现有项目中使用 javascript 文件吗?
- javascript - [IP 错误]MongooseServerSelectionError:无法连接到 MongoDB Atlas 集群中的任何服务器
- antlr - 使用 antlr 和 python 解析 VB 代码的抽象语法树
- android - 溢出菜单项中的标题未出现
- css - SASS/SCSS:将另一个 CSS 或 SCSS 文件的内容包含(不导入)到现有文件中?
- python - Python lambda 不是从函数中获取变量
- swift - 根据 Xcode 中选择的目标将图像加载到 uiimageview
- angular - Angular 11 可以根据 HTTP 请求的结果激活 Guard
- python - 比较两个大小不等的numpy数组并用nan填充排除元素