Ionic 4 bion-input issue

#1
  <form [formGroup]="loginForm" (submit)="login()">
    <ion-item>
      <ion-input type="text" formControlName="username"></ion-input>
    </ion-item>
    <ion-item>
      <ion-textarea type="text" formControlName="password"></ion-textarea>
    </ion-item>
    <ion-button type="submit">Submit</ion-button>
  </form>

i had the issue, that the input binding didn’t work then I found the resolved issue but it still doesn’t work after importing the FormsModule in app.module.ts or my component.module.ts

i am currently using ionic 4.10.2- the latest release and also tried it with a fresh project.

Thanks

#2

Hello,
import into “yourpage.module.ts”