Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
filterFilter doesn't work with Array like objects anymore #11782
filterFilter also doesn't work with Array like objects anymore, like it used to before.
Please take a look at this fiddle:
Works like it should with previous version of Angular (v1.2):
Breaks with newer versions of Angular (v1.3 and above):
referenced this issue
May 1, 2015
A little background:
That said, I don't see why we couldn't support array-like objects (in the internal Angular sense). It seems to be a trivial change.
https://jsfiddle.net/0L11e3xf/ here's a proper version of the 1.3 repro posted above which works correctly, by subclassing the array "properly" --- but yes, filterFilter should replace
@caitp, still not sure what you suggest :)
This doesn't work as is (because of the
Are you saying something different ?
@gkalpak I don't think the