mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(upgrad): ng alpha52 and case-sensitive templates
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
it('should check apple, enable/check grape, submit form', function() {
|
||||
element(by.css('[ng-control=appleCtrl] .checkbox-media')).click();
|
||||
element(by.css('[ngControl=appleCtrl] .checkbox-media')).click();
|
||||
element(by.css('.e2eGrapeDisabled')).click();
|
||||
element(by.css('.e2eGrapeChecked')).click();
|
||||
element(by.css('.e2eSubmit')).click();
|
||||
|
||||
@@ -4,23 +4,23 @@
|
||||
|
||||
<ion-content>
|
||||
|
||||
<form (submit)="doSubmit($event)" [ng-form-model]="fruitsForm">
|
||||
<form (submit)="doSubmit($event)" [ngFormModel]="fruitsForm">
|
||||
|
||||
<ion-list>
|
||||
|
||||
<ion-checkbox value="apple" checked="true" ng-control="appleCtrl">
|
||||
<ion-checkbox value="apple" checked="true" ngControl="appleCtrl">
|
||||
Apple, value=apple, init checked
|
||||
</ion-checkbox>
|
||||
|
||||
<ion-checkbox ng-control="bananaCtrl">
|
||||
<ion-checkbox ngControl="bananaCtrl">
|
||||
Banana, init no checked/value attributes
|
||||
</ion-checkbox>
|
||||
|
||||
<ion-checkbox value="cherry" disabled="true" ng-control="cherryCtrl">
|
||||
<ion-checkbox value="cherry" disabled="true" ngControl="cherryCtrl">
|
||||
Cherry, value=cherry, init disabled
|
||||
</ion-checkbox>
|
||||
|
||||
<ion-checkbox value="grape" [checked]="grapeChecked" [disabled]="grapeDisabled" ng-control="grapeCtrl">
|
||||
<ion-checkbox value="grape" [checked]="grapeChecked" [disabled]="grapeDisabled" ngControl="grapeCtrl">
|
||||
Grape, value=grape, init checked, disabled
|
||||
</ion-checkbox>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user