Cant enter values into the email and password fields?


#1

Hi, when I serve my application I am unable to type anything into the email and password fields? Could anyone help me? Here is the HTML,

Ionic Framework logo
 <h1>Welcome</h1>

 <p>Please log in.</p>

 <form
   [formGroup]="form"
   (ngSubmit)="logIn()">
   <ion-list>
       <ion-item margin-bottom>
          <ion-label>Your E-mail Address</ion-label>
          <ion-input type="email" formControlName="email"></ion-input>
       </ion-item>


       <ion-item margin-bottom>
          <ion-label>Your Password</ion-label>
          <ion-input
             type="password"
             formControlName="password"></ion-input>
       </ion-item>
         <button
          ion-button
          color="primary"
          text-center
          block [disabled]="!form.valid">Log In</button>
    </ion-list>
 </form>

#2

Working fine for me : https://stackblitz.com/edit/ionic-mkuxka
Make sure that you are clicking/typing after Your E-mail Address or Your Password.


#3

Still not able to type on either field. I can press the login button but unable to enter email and password


#4

have you checked my stackblitz example for the same? did that work for you?