mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
test(select): reproduce issue of setting select to null
references #5288
This commit is contained in:
@ -19,6 +19,10 @@ class E2EPage {
|
|||||||
stpSelect() {
|
stpSelect() {
|
||||||
console.log('STP selected')
|
console.log('STP selected')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resetGender() {
|
||||||
|
this.gender = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,6 +81,8 @@
|
|||||||
</ion-select>
|
</ion-select>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
|
<button (click)="resetGender()">Reset Gender</button>
|
||||||
|
|
||||||
<p aria-hidden="true" padding>
|
<p aria-hidden="true" padding>
|
||||||
<code>gender: {{gender}}</code><br>
|
<code>gender: {{gender}}</code><br>
|
||||||
<code>gaming: {{gaming}}</code><br>
|
<code>gaming: {{gaming}}</code><br>
|
||||||
|
Reference in New Issue
Block a user