File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 9
9
10
10
< ion-content padding class ="message bye-ionic ">
11
11
< h2 > Bye!</ h2 >
12
+ <!-- NOTE: the clicker issue 108 error can be reproduced either with
13
+ an <ion-range> or with an <ion-input> element with an
14
+ [(ngModel)]. uncomment either one of those lines and uncomment
15
+ the corresponding lines in page2.ts that change the type of
16
+ 'value' -->
17
+ <!--ion-range [(ngModel)]="value"></ion-range-->
18
+ < ion-input [(ngModel)] ="value " type ="text "> </ ion-input >
12
19
</ ion-content >
Original file line number Diff line number Diff line change @@ -6,7 +6,18 @@ import {Component} from '@angular/core';
6
6
templateUrl : 'build/pages/page2/page2.html' ,
7
7
} )
8
8
export class Page2 {
9
+ // NOTE: reproducing clicker issue 108: 'value' should be a string
10
+ // type if you uncommented the <ion-input> line in page2.html, or
11
+ // if you uncommented <ion-range>, then 'value' should be an int
12
+
13
+ // private value: number;
14
+ private value : string ;
9
15
constructor ( ) {
10
- // no-op
16
+
17
+ // this.value = 33;
18
+ this . value = 'some text' ;
19
+ }
20
+ public onGainChange ( arg : any ) : void {
21
+ return ;
11
22
}
12
23
}
You can’t perform that action at this time.
0 commit comments