Angularjs Filter Not Filter Multipe Filter Value
Am looking for angularjs multiple condition filter like this arr in array | filter:filters.search | filter:{company: selectedName} | filter:{voucher_type: both } It working but not
Solution 1:
Field voucher_type is not available in your array so, it can not find out. Please add this field and make filter working Properly. !!!
Solution 2:
am make some changes it work fine now filter:valFilter
filter is changed and new function is added
$scope.valFilter = function (arr) {
return (arr.company == "z" || arr.company == $scope.selectedName);
}
Thank you all
Post a Comment for "Angularjs Filter Not Filter Multipe Filter Value"