Yeah, that was my bad. Would have expected it to fail in dev mode as well 
though.

Thanks again :).


On Friday, 28 April 2017 19:26:05 UTC+1, Sander Elias wrote:
>
> 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... Sander Elias
      • [AngularJS... 'Benjamin Ugbene' via Angular and AngularJS discussion
        • [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
            • ... bkc
            • ... 'Benjamin Ugbene' via Angular and AngularJS discussion
            • ... Sander Elias
            • ... 'Benjamin Ugbene' via Angular and AngularJS discussion

Reply via email to