Skip to content

[forms] Submitted state on FormGroup in subcomponent is inconsistent #31831

@MatthiasKunnen

Description

@MatthiasKunnen

🐞 bug report

Affected Package

The issue concerns @angular/forms

Is this a regression?

Not that I'm aware of

Description

Using different approaches to place form controls in subcomponents leads to inconsistent results. See the stackblitz for the different approaches.

Issue originates from angular/components#16360.

🔬 Minimal Reproduction

https://stackblitz.com/edit/components-issue-form-group-submitted?file=app%2Fapp.component.html

🌍 Your Environment

Angular Version:
Angular: ^8.0.0

(can't run ng version in a stackblitz)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions