«angular-foundation» etiketlenmiş sorular

9
Denetleyicideki bir forma erişebilir miyim?
Şu anda aşağıdakileri kullanıyorum. $scope.$$childHead.customerForm[firstName], Böylece: <form name="customerForm"> <input type="text" name="firstName" ng-model="data.customer.firstName" tabindex="1" ng-disabled="!data.editable" validationcustomer /> </form> Ancak bu yalnızca Chrome'da çalışır. Şimdi aşağıdakileri denedim: $scope.editCustomerForm[firstName], Böylece: <form name="customerForm" ng-model="editCustomerForm"> <input type="text" name="firstName" ng-model="data.customer.firstName" tabindex="1" ng-disabled="!data.editable" validationcustomer /> </form> Hangi işe yaramaz. Formumun bir Temel Sekmesi içinde olduğunu unutmayın. Nasıl …
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.