我有ngFor在里面,我正在尝试禁用基于多种条件的按钮,我能做什么,任何人建议我。我不知道如何在有多个条件的ngFor中禁用。I have way disabled="option.value.dynamicAttributeList.length === countForColor“second disabled="option.value.dynamicAttributeList.lengthoption.value.dynamicAttributeList.length ===
我有一些文本框在表格中来自loop.Initially这些文本框是禁用的,在单击编辑按钮后,它将是enabled.Till now working fine.But当我单击编辑按钮时,我想在第一行的第一个文本框中设置自动对焦我尝试使用自动聚焦属性,但它不是working.Can任何人请在it.Here上帮助我是下面的代码 app.component.html <div class="container">
<h2>="enable()">Edit</