Skip to content

Nested Arrays getControl error: Unable to find "0" item in FormGroup. #323

Open
@neil-coutinho

Description

@neil-coutinho

Issue type

I'm submitting a (check one):
[X] Bug report
[ ] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[X] Support request
[ ] Documentation issue or request

Prerequisites

Before posting, make sure you do the following (check all):
[X] Confirm you are using the latest versions of all necessary packages (or if not, explain why not)
[X] Search GitHub for a similar issue or PR
[X] If submitting a Support request, also search [Stack Overflow][stack-overflow] for similar issues
Note: Please cross-post GitHub support requests to [Stack Overflow][stack-overflow], and include a link in your GitHub issue to your Stack Overflow question. We do currently respond to support requests on GitHub, but we eventually expect to stop, and will then refer all support questions exclusively to Stack Overflow.

Current behavior

Nested recursive arrays do not work when layout is present

Expected behavior

IMPORTANT: How can we reproduce your problem?

An example using the Deep Recursive References schema from the examples

https://stackblitz.com/edit/angular-c1mzvk
With layout = ['*'] it works perfectly, I guess my layout is incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions