Hi All,
I was developing an Ionic2 application.
If I run the application in the browser I’ve no problems. But if I emulate the app in IOS I cannot insert a text in the input fields.
The following gif shows the problems
This is the code:
<ion-header>
<ion-navbar>
<ion-title>
Login
</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<div style="margin: 0 auto;width: 60%;">
<img src="assets/logo.png" width="100%" height="auto" style="width: 100%; height: auto;">
</div>
<div class="spacer" style="width: 283px; height: 35px;"></div>
<form [formGroup]="loginForm" (ngSubmit)="submitForm()">
<ion-list>
<ion-item>
<ion-label floating>Username</ion-label>
<ion-input formControlName="username" type="text" value=""></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Password</ion-label>
<ion-input formControlName="password" type="password" value=""></ion-input>
</ion-item>
<ion-item padding>
<ion-label>Rimani connesso</ion-label>
<ion-toggle formControlName="rememberme"></ion-toggle>
</ion-item>
<button ion-button full type="submit" [disabled]="!loginForm.valid || isLoading">
Login</button>
</ion-list>
</form>
<ion-card>
<ion-card-content class="item-text-wrap">
AAAAA
</ion-card-content>
</ion-card>
</ion-content>
Do you know what is going wrong?
EDIT
if I run the project on a physical device there are no problems.
thanks