Hi Sander
Thank you, that is very helpful. Code is now running.
The "running" code example I was following had used the "form" variable for 
both the formGroup and the form itself which tripped me up.
Thank you for taking the time to post, this is greatly appreciated.
Kind regards
Sean

On Wednesday, 25 January 2017 20:31:11 UTC+13, Sander Elias wrote:
>
> Hi Sean,
>
> The #form creates a form variable inside the parent component. That 
> variable holds the controller of the component in question. If you want to 
> refer to a variable inside that component, you need to reference it as 
> "variableName.insideVarableName", naming those both form would make you end 
> up with form.form.xx.
>
> Does that explain it enough for you?
>
> 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.

Reply via email to