You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is rivets's binder 'data-each' issue(It wants an Array as each argument and tries to iterate collection as array). It is impossible to fix with adapter now. Here is an Issue. This will be fixed in future version of rivets.
Right now there is 2 ways to fix it:
cast collection to Array, using simple filter
<lidata-each="someCollection | toArray"></li>
wrap collection with fake model (better one), adapter can handle this
element not appears.
The text was updated successfully, but these errors were encountered: