I see both formControlName and ngModel. I think you should only use one of 
those.  For template driven forms you use ngModel, for reactive forms, you 
use formControlName. not both.

Have a look at the example in the docs page 
<https://angular.io/docs/ts/latest/api/forms/index/FormControlName-directive.html>

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
  • [AngularJS] Re: Ang... 'Benjamin Ugbene' via Angular and AngularJS discussion
    • [AngularJS] Re... 'Benjamin Ugbene' via Angular and AngularJS discussion
      • [AngularJS... Sander Elias
        • [Angul... 'Benjamin Ugbene' via Angular and AngularJS discussion
          • [A... 'Benjamin Ugbene' via Angular and AngularJS discussion
            • ... 'Benjamin Ugbene' via Angular and AngularJS discussion
              • ... 'Benjamin Ugbene' via Angular and AngularJS discussion
              • ... 'Benjamin Ugbene' via Angular and AngularJS discussion
              • ... bkc
              • ... 'Benjamin Ugbene' via Angular and AngularJS discussion
              • ... Sander Elias
              • ... 'Benjamin Ugbene' via Angular and AngularJS discussion

Reply via email to