# Can't bind to 'ngModel' since it isn't a known property of

**URL:** <https://forum.ionicframework.com/t/cant-bind-to-ngmodel-since-it-isnt-a-known-property-of/181919>\
**Category:** Ionic Angular\
**Created:** [January 21, 2020, 8:08pm UTC](https://forum.ionicframework.com/t/cant-bind-to-ngmodel-since-it-isnt-a-known-property-of/181919 "2020-01-21T20:08:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiedmudreal](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@tiedmudreal](https://forum.ionicframework.com/u/tiedmudreal)\
**Post date:** [January 21, 2020, 8:08pm UTC](https://forum.ionicframework.com/t/cant-bind-to-ngmodel-since-it-isnt-a-known-property-of/181919/1 "2020-01-21T20:08:14Z")

</div>

I am getting this error even if I have already put FormsModule on the app.module.ts.

```auto
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
imports: [
    BrowserModule,
    IonicModule.forRoot(),
    AppRoutingModule,
    FormsModule,
    ReactiveFormsModule 
  ],

<ion-input type="text" [(ngModel)]="nome" formControlName="nome" name="nome" required></ion-input>

```

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [January 21, 2020, 8:15pm UTC](https://forum.ionicframework.com/t/cant-bind-to-ngmodel-since-it-isnt-a-known-property-of/181919/2 "2020-01-21T20:15:25Z")

</div>

You don’t want both `ngModel` and `formControlName`. Choose one.
