-
Notifications
You must be signed in to change notification settings - Fork 27k
Open
Labels
Milestone
Description
Which @angular/* package(s) are the source of the bug?
forms
Is this a regression?
Yes
Description
When using zoneless change detection, pushing a new control to a FormArray does not trigger change detection.
We shouldn't have to call markForCheck() or update some signal just to cause a new control to appear in the DOM.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-zqbvnrcq?file=src%2Fmain.ts
Please provide the exception or error you saw
Clicking the "Add control" button in the repro should cause a second input to appear, but it doesn't.
Please provide the environment you discovered this bug in (run ng version)
Angular CLI : 21.0.0
Angular : 21.0.0
Node.js : 20.19.1
Package Manager : npm 10.8.2
Operating System : linux x64
┌───────────────────────────┬───────────────────┬───────────────────┐
│ Package │ Installed Version │ Requested Version │
├───────────────────────────┼───────────────────┼───────────────────┤
│ @angular/animations │ 21.0.0 │ ^21.0.0 │
│ @angular/build │ 21.0.0 │ ^21.0.0 │
│ @angular/cli │ 21.0.0 │ ^21.0.0 │
│ @angular/common │ 21.0.0 │ ^21.0.0 │
│ @angular/compiler │ 21.0.0 │ ^21.0.0 │
│ @angular/compiler-cli │ 21.0.0 │ ^21.0.0 │
│ @angular/core │ 21.0.0 │ ^21.0.0 │
│ @angular/forms │ 21.0.0 │ ^21.0.0 │
│ @angular/platform-browser │ 21.0.0 │ ^21.0.0 │
│ @angular/router │ 21.0.0 │ ^21.0.0 │
│ rxjs │ 7.8.2 │ ^7.8.1 │
│ typescript │ 5.9.3 │ ^5.9.3 │
└───────────────────────────┴───────────────────┴───────────────────┘
Anything else?
No response
michael-small