collection icon indicating copy to clipboard operation
collection copied to clipboard

Collection.pluck() returns empty array when using xs.combine()

Open nicolas-schreiber opened this issue 8 years ago • 0 comments

Hi,

I would like to implement a list that features sorting and filtering. Currently I am stuck at filtering. The list itself works when only doing Collection.pluck(todoListItems$, item => item.DOM);

And it also works when I pluck a for example state$.

However, when I try to do Collection.pluck(todoListItems$, item => xs.combine(item.state$, item.finished$)); pluck only returns an empty Array.

nicolas-schreiber avatar Dec 04 '17 07:12 nicolas-schreiber