Skip to content

ContentChildren get different children when add formArrayName #27504

@vthinkxie

Description

@vthinkxie

🐞 bug report

Affected Package

@angular/forms

Is this a regression?

No

Description

when add formArrayName to the ng-container, the child component could not be accessed by the parent component

🔬 Minimal Reproduction

https://stackblitz.com/edit/angular-2vcmz3?file=src%2Fapp%2Fapp.component.html

🔥 Exception or Error


ContentChildren get nothing when add `formArrayName`
should have same behavior

🌍 Your Environment

Angular Version: 7.1

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions