Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

When child form control disabled. entire form group dirty status is change to be false #60420

Copy link
Copy link
Open
@lilas78

Description

@lilas78
Issue body actions

Which @angular/* package(s) are the source of the bug?

forms

Is this a regression?

No

Description

When child form control disabled. entire form group dirty status is change to be false

A former bug was resolved : #23309

But is is resolved only for direct parent (level+1).
If a form has multiple levels (fromArray, formgroup, ...), and a control at the bottom is marked as disabled, the dirty status of a upper parent (level +2) is changed to be false.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/sb1-wqy95ggs?file=src%2Fmain.ts

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)


Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.