Hi. I want to create a reactive form with a list of checkboxes. Using [(ngModel)] allows me to store a list of selected values. This doesn't seem to work with formControlName; only the last checked value appears in the list. Please see the plnkr here http://plnkr.co/edit/QgXNX9Fzko9btWakuOOf?p=preview.
How can I get the checkboxes to store a list of checked values? Thanks.
p-checkbox formControlName
You can create an issue in the github issue tacker.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
I opened an issue here https://github.com/primefaces/primeng/issues/2906
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests