Component: Checkbox; Array value not working when using with formControlName #15185
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If i use the checkbox with formControlName, only the latest option is stored in the form control. It should be an array of all selected options.
Environment
it is happening everywhere
Reproducer
https://stackblitz.com/edit/9ncv5u-usof8j?file=src%2Fapp%2Fdemo%2Fcheckbox-reactive-forms-demo.html
Angular version
17.0.0
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: