Skip to content

The filter is not working for a single depth object #13

Description

@maddy1512

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions