[英]How to exclude element from disabled fieldset in html
How enable checkbox element which is disabled in fieldset with ng-disabled: 如何启用在ng-disabled中禁用的复选框元素:
<fieldset data-ng-disabled="vm.isFundingAppDisabled()">
Checkbox code looks like this: 复选框代码如下所示:
<input type="checkbox" id=Checkbox_Legal_Person_Code
name="Checkbox_Legal_Person_Code">
<label for="Checkbox_Legal_Person_Code" data-ng-if="vm.getFundingAppState()
== 'SUBMITTED'&& vm.fundingApp.attributes.isTutoring"></label>
Is there a way to easily enable it without scripts? 有没有一种无需脚本即可轻松启用它的方法?
当data-ng-disabled
vm.isFundingAppDisabled()
条件变为false
,此复选框将自动启用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.