You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create or open an app with "nz-checkbox-group" using Reactive Forms
Update to Angular 19.0.6 and Ng Zorro 19.0.1
Check if the "nz-checkbox-group" in the Reactive Form doesn't show any data
What is expected?
The "nz-checkbox-group" to work correctly with reactive Forms using "formControlName".
What is actually happening?
After updating to the latest version of Angular (19.0.6) and NG Zorro (19.0.1), all of the nz-checkbox-group controls that were being used in a Reactive Form with formControlName stopped working (i.e., don't show any data).
the value of the formControl should be NzCheckboxOption['value'][], such as ['Apple']
Laffery
added
Usage
Usage questions (not reommended to open a issue for this)
and removed
Usage
Usage questions (not reommended to open a issue for this)
labels
Jan 10, 2025
Hi, I think this is already noted in the changelog and the documentation has been updated, although the docs use ngModel as an example, it's pretty much the same with ReactiveForms.
I'll close this.
Reproduction link
https://stackblitz.com/edit/dx6v718q?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
What is expected?
The "nz-checkbox-group" to work correctly with reactive Forms using "formControlName".
What is actually happening?
After updating to the latest version of Angular (19.0.6) and NG Zorro (19.0.1), all of the
nz-checkbox-group
controls that were being used in a Reactive Form withformControlName
stopped working (i.e., don't show any data).The text was updated successfully, but these errors were encountered: