Replies: 1 comment
-
Using this approach for now ("mapping in" a): ---json
{
"as": [{"title": "a1"}],
"bs": [{}]
}
---
<ol>
<li webc:for="a of as">
<h2 @text="a.title"></h2>
<ol>
<li webc:for="c of bs.map((b) => [a,b])">
<h3 @text="c[0].title"></h3>
</li>
</ol>
</li>
</ol> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the example, h2 is rendering fine, but in h3, a is undefined. How to access a in h3?
Beta Was this translation helpful? Give feedback.
All reactions