Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70763

Error [(ngModel)] in ion-input

$
0
0

@cristiancch wrote:

I’m working with:

<ion-item>
    <ion-label position="floating">Nombre</ion-label>
    <ion-input type="text" [(ngmodel)]="name"></ion-input>
  </ion-item>

Also, I imported FormsModule

import { FormsModule } from '@angular/forms';

....
@NgModule({
imports: [
   FormsModule
],
})

And I have this error:

Can’t bind to ‘ngmodel’ since it isn’t a known property of ‘ion-input’.

Please, help me!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70763

Trending Articles



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