我目前使用以下。
@H_301_18@$ scope。$$ childHead.customerForm [firstName],这样:
<form name="customerForm"> <input type="text" name="firstName" ng-model="data.customer.firstName" tabindex="1" ng-disabled="!data.editable" validationcustomer /> </form>
但这只适用于Chrome。现在我尝试以下:
$ scope.editCustomerForm [firstName],这样:
<form name="customerForm" ng-model="editCustomerForm"> <input type="text" name="firstName" ng-model="data.customer.firstName" tabindex="1" ng-disabled="!data.editable" validationcustomer /> </form>
哪个不工作。注意我的形式是在一个基础选项卡内。如何访问firstName?
编辑:看起来似乎窗体不会添加到范围内,当它在一个基础选项卡。
任何人都有这个解决方案?