mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
test(input): add test to reproduce a floating label bug
This commit is contained in:
@ -6,6 +6,8 @@ import {App} from 'ionic/ionic';
|
|||||||
})
|
})
|
||||||
class E2EApp {
|
class E2EApp {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
this.myParam = '';
|
||||||
|
|
||||||
this.myValues = {
|
this.myValues = {
|
||||||
value1: 'Dynamic Input',
|
value1: 'Dynamic Input',
|
||||||
value2: 'Dynamic Textarea'
|
value2: 'Dynamic Textarea'
|
||||||
|
@ -3,6 +3,15 @@
|
|||||||
|
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
|
<ion-row>
|
||||||
|
<ion-col>
|
||||||
|
<ion-item>
|
||||||
|
<ion-label floating>Params</ion-label>
|
||||||
|
<ion-input [(ngModel)]="myParam" type="text"></ion-input>
|
||||||
|
{{ myParam }}
|
||||||
|
</ion-item>
|
||||||
|
</ion-col>
|
||||||
|
</ion-row>
|
||||||
|
|
||||||
<ion-list inset>
|
<ion-list inset>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user