Collection.filter result can not be fed into a repeater

I don't think this is a bug, but it could cause user confusion. As far as I can tell, you can not pass the result of a collection.filter directly into an enyo.DataRepeater component. This makes sense when you stop to think about it, since the repeater.collection requires a collection. However, as a user I would think that I could pass a collection.filter result directly to the repeater. I would assume filtering a collection would return me a usable collection object, not an array. I may be wrong on this, so I am just sending a heads up. I created a fiddle to illustrate.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!