Ion input does not work

In my ionic 2 app i applied angular 2 form validations in it . but when i touch on ion input it works well but when i move to other ion input and get back to previous input for changings but i am unable to write even it does not focus ??
can you please guide? did a lot of research on it but found nothing.

              <ion-icon item-left name="ios-mail-outline" ></ion-icon>

              <ion-input #email formControlName="email" type="email" placeholder="Email" (keyup.enter)="keytab($event)" >
            <!-- <ion-icon name="ios-camera-outline" item-right ></ion-icon>          -->

            <ion-item class="error-message" *ngIf="!  &&
          Invalid email address.
              <ion-input  #password formControlName="password" type="password" placeholder="Password" ></ion-input>
              <ion-icon item-left name="ios-lock-outline" ></ion-icon>
           <ion-item class="error-message" *ngIf="!loginForm.controls.password.valid  &&
            minimum six characters required

Have you found a solution?

yes it was a build problem i was creating build with wrong method

Ok. In my case, it was sidemenu which was open (programatically) and it not visible (under current layer) and it was blocking all controls. Inputs were most obvious.

1 Like