angular-toArrayFilter
angular-toArrayFilter copied to clipboard
The filter is not working for a single depth object
Hi, The filter code checks whether the input provided is object or not and returns from there itself. Now for ng-repeat over an object like: {"panel":"red","window":"blue","carpet":"green","doors":"white"} with the toArray Filter it doesn't work as the repeat returns the value and not the object itself and when it reaches the Filter, it checks for object in the first step itself and returns as the value provided is not object. Can you add support for such an object too?
error when ... ng-repeat="dataRecord in displayData | toArray | filter:searchInGrid | orderBy:sort.predicate:sort.reverse" ... how can i use the filter for the old coding?
Same issue here :(