samedi 2 décembre 2017

How to use AngularJS filter method with multiple check-boxes and regular input field?

I am new to AngularJS. I have a grid where I display all the list of customers with 5 different check boxes.

Such as FirstName, LastName, checkboxes are for Ribs/Chicken/Brisket etc.

I would like to use the AngularJS filter method.

Currently, I have the following search.FirstName, search.LastName

In the ng-repeat = customer in customers | filter: search

The question I have is that

How can I use the filter method with checkboxes?

Please help me out how to solve this problem.

Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire