Ionic 4 bion-input issue

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

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.


import into “yourpage.module.ts”