Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested repeats are not working #82

Open
rksh1997 opened this issue Apr 28, 2019 · 1 comment
Open

Nested repeats are not working #82

rksh1997 opened this issue Apr 28, 2019 · 1 comment

Comments

@rksh1997
Copy link

I have this data

const data = [
  {
    name: '1',
    meta: [{ nested: "1" }]
  }
];
<div way-repeat="data">
  <ul>
    <li way-repeat="meta">
      <span way-data="nested"></span>
    </li>
  </ul>
</div>

This is not working, the inner repeat scope is still same as the outer one :\

@rksh1997
Copy link
Author

I solved this issue by two steps:

  1. delete the library at all.
  2. use rivets.js instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant