Groups
Sign in
Groups
Angular and AngularJS discussion
Conversations
Labels
About
Send feedback
Help
multiple checkboxes validation - template driven forms
290 views
Skip to first unread message
Angular Queries
unread,
Sep 18, 2022, 2:53:45 AM
9/18/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
Hi,
Can I validate a group of checkboxes in template driven forms?
Not able to use the reference variable for the checkboxes for validation as I am using *ngFor loop to create the checkboxes.
divine chelladurai
unread,
Sep 18, 2022, 3:25:21 AM
9/18/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
try the approach mentioned in below snippet
the source code example is here
https://stackblitz.com/edit/angular-ivy-jlboyd?file=src/app/app.component.html
template.html
template.ts
Reply all
Reply to author
Forward
0 new messages