Angular-ReactiveForms | Pluralsight course : Angular Reactive Forms | Reactive Programming library
kandi X-RAY | Angular-ReactiveForms Summary
kandi X-RAY | Angular-ReactiveForms Summary
Materials for my Pluralsight course: Angular Reactive Forms.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Angular-ReactiveForms
Angular-ReactiveForms Key Features
Angular-ReactiveForms Examples and Code Snippets
Community Discussions
Trending Discussions on Angular-ReactiveForms
QUESTION
I've seen a few checkbox ideas and strategies, but can't seem to get this to work in my particular case.
I am newer to Angular but am trying to build a workout webapp. What I am trying to do is use checkboxes to filter which workouts appear in the workout list (workout list is displayed using an ngFor
).
Currently, I have a WorkoutListComponent that displays the list using the ngFor
(shortened for simplicity):
ANSWER
Answered 2020-Feb-05 at 12:44I recommend when you are working with multiple checkboxes, to use the SelectionModel from angular collections. Try not using reactive forms with multiple checkboxs control for filters like that, SelectionModel makes it so easier.
Here's the stackblitz, hope it helps.
https://stackblitz.com/edit/github-4rezan-yqxkyv
code:
html:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Angular-ReactiveForms
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page