I am implementing a 3 level nested form and I find the form controls of the
formArray inside formArray seems invalid.
My data looks like myForm = {field:[{name: 'FakeName',
configuration:[{config_name: '', config_para: ''}, {config_name: '',
config_para: ''} ]} ]}.
The relation of "myForm ( field ( configuration ( conf_a" should be *formGroup
( formArray ( formArray (formGroup*.
In my component ts file, *myForm.controls['field']* works but
*myForm.controls['field'].controls* does not work.
In my html file, the ''
*myForm.controls.field.controls.configuration.controls*" does not work as
well.
Do you know how to deal with it? It is similar to the question
http://stackoverflow.com/quest...
<http://stackoverflow.com/questions/39349261/nested-forms-in-angular2#> . I
did not find useful answer.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Angular" 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.