Getting No provider for NgControl Error after adding ReactiveFormsModule to my angular 4 app

Should be

<select [(ngModel)]="currencies" (ngModelChange)="showPurchase($event)" class="annka-center" name="curencies">
       <option *ngFor="let money of currencies; let i = index" (ngValue)="money" (click)="showPurchase(money)"> {{money.Currency}} </option>
 </select>

Also make sure you import FormsModule inside the app.module.ts under imports

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

    @NgModule({
        imports: [
             FormsModule  
             ReactiveFormsModule     
        ]

Leave a Comment