FormArray controls not accessable inside the FormBuilder

25 views
Skip to first unread message

rahul verma

unread,
Nov 10, 2019, 3:47:56 PM11/10/19
to Angular and AngularJS discussion
I am trying to solve this from long time but still din't get what i am doing wrong so please help me take a look here- https://github.com/DeborahK/Angular-ReactiveForms/issues/22

Sander Elias

unread,
Nov 11, 2019, 12:36:39 AM11/11/19
to Angular and AngularJS discussion
Hi Rahul,

When you have a question like this, it's easier to get an answer if you provide a StackBlitz or something similar.

Regards
Sander

rahul verma

unread,
Nov 11, 2019, 6:13:47 AM11/11/19
to Angular and AngularJS discussion
now you can check code on StackBlitz  https://stackblitz.com/edit/angular-66qunm and plese correct it.

Sander Elias

unread,
Nov 12, 2019, 1:35:06 AM11/12/19
to Angular and AngularJS discussion
Hi Rahul,

If there is something in your amenities, your sample just works. If the array is empty, it will show nothing, which is exactly the point.

I did put some sample values in there, and that did it:


Regards
Sander
Reply all
Reply to author
Forward
0 new messages