Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49236

Ionic 4 bion-input issue

$
0
0

@pstampfer wrote:

  <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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>