x-if inside of x-for does not work #908
Replies: 3 comments 4 replies
-
How about putting it on the same Alternatively I think you can do <template x-for=...>
<div><template x-if=...></template></div>
</template> |
Beta Was this translation helpful? Give feedback.
-
I would try filtering the list and looping that instead: |
Beta Was this translation helpful? Give feedback.
-
hmmm, When specifying both For now, the solution seems to be:
✅ |
Beta Was this translation helpful? Give feedback.
-
https://codepen.io/markfirmware/pen/vYXNBNX
only the first list item is included
Beta Was this translation helpful? Give feedback.
All reactions