如何删除列表中的复选框 [英] How to remove the check box in the lists
本文介绍了如何删除列表中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我得到了这个
在选择列表中,列表选择正常,但如何删除复选框?
解决方案
为此添加display:none
我在 Stackblitz
<块引用>.css/.sccc
:host {::ng-deep.mat-伪复选框{显示:无!重要;}}
I got this stackblitz example for lists with selection as shown in below image.
In the selection list,the list is selecting fine but how can i remove the checkbox?
解决方案
add display:none
for this
I have create a demo on Stackblitz
.css /.sccc
:host {
::ng-deep.mat-pseudo-checkbox{
display: none !important;
}
}
这篇关于如何删除列表中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文