angular-toArrayFilter icon indicating copy to clipboard operation
angular-toArrayFilter copied to clipboard

The filter is not working for a single depth object

Open maddy1512 opened this issue 9 years ago • 2 comments

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?

maddy1512 avatar Aug 06 '15 05:08 maddy1512

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?

dolphinotaku avatar Aug 20 '15 16:08 dolphinotaku

Same issue here :(

ghost avatar Nov 04 '16 16:11 ghost