دنبال کننده ها

۱۳۹۶ آذر ۱۱, شنبه

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

[ad_1]



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.




[ad_2]

لینک منبع