Skip to content

Commit d70fe63

Browse files
authored
Merge 3f9558b into 8f10e8f
2 parents 8f10e8f + 3f9558b commit d70fe63

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

app/pages/page2/page2.html

+7
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,11 @@
99

1010
<ion-content padding class="message bye-ionic">
1111
<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>
1219
</ion-content>

app/pages/page2/page2.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@ import {Component} from '@angular/core';
66
templateUrl: 'build/pages/page2/page2.html',
77
})
88
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;
915
constructor() {
10-
// no-op
16+
17+
// this.value = 33;
18+
this.value = 'some text';
19+
}
20+
public onGainChange(arg: any): void {
21+
return;
1122
}
1223
}

0 commit comments

Comments
 (0)