如何禁用模板驱动表单中的所有控件.
试过的解决方案.
使用fieldset并将[disabled]设置为 – 这在IE 9中不起作用.
同样使用fieldset,不会禁用输入
<button class="icon-btn pull-right addNewBtn" type="button" title="Add New " data-toggle="modal" id="Btn" data-backdrop="false"><i (click)="Person(Code)" class="fa fa-user-plus"></i></button> <p-radioButton name="type" value="I" label="Inc" [(ngModel)]="type"></p-radioButton>
我没有表单组,因此该解决方案在这里也不起作用.
让我知道AngularJS 2中是否还有其他解决方案