[英]Angular- How to limit multiple mat-chip and unable to disable the input
This is my stackblitz recreation of a small part of my project.这是我对我项目的一小部分的stackblitz娱乐。 In here I am facing 4 problems:-在这里我面临4个问题:-
[disabled]="selectedOption >=1"
even though this one works, I do not want to disable the remove function so that if the user want he/she can remove the chip and add a new one.我试过[disabled]="selectedOption >=1"
即使这个工作,我不想禁用删除 function 以便如果用户想要他/她可以删除芯片并添加一个新的。Can someone help me with this?有人可以帮我弄这个吗?
Thanks for the help in advance我在这里先向您的帮助表示感谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.