x-if and x-for in the same template tag produces log errors #1694
-
Hi everyone, I just noticed today while upgrading to V3 that there seems to be something causing log errors while attempting the following
If a template tag meant to be used in an x-for has an x-if attribute referencing some other expression or maybe something like "colors.length", it causes the item in the iteration to throw an error in the console and shows as undefined I seem to be able to nest my tag to first do an x-if and then an x-for, which removes the log errors but not sure if this is the intended behaviour. This doesn't seem to happen in V2 and I wonder if this was intended and I didn't find anything in the docs or something similar. Thanks in advance! 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you try using latest version of Alpine. I'm not getting error so I think this was resolved already. |
Beta Was this translation helpful? Give feedback.
Can you try using latest version of Alpine. I'm not getting error so I think this was resolved already.