Skip to content

fix(forms): guard against null containers in NgForm#69508

Open
MeAkib wants to merge 1 commit into
angular:mainfrom
MeAkib:Fixes-#69440
Open

fix(forms): guard against null containers in NgForm#69508
MeAkib wants to merge 1 commit into
angular:mainfrom
MeAkib:Fixes-#69440

Conversation

@MeAkib

@MeAkib MeAkib commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Handle cases where _findContainer returns null during deferred control registration. This aligns addControl and addFormGroup with the existing remove methods and makes the nullability explicit in _findContainer's return type.

Fixes #69440

Handle cases where `_findContainer` returns `null` during deferred
control registration. This aligns `addControl` and `addFormGroup`
with the existing remove methods and makes the nullability explicit
in `_findContainer`'s return type.

Fixes angular#69440
@pullapprove pullapprove Bot requested a review from kirjs June 24, 2026 22:11
@ngbot ngbot Bot added this to the Backlog milestone Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant