Syntax issue using x-show in a template #3085
-
I am filtering a grid of logos based on a category that is contained in an array of data. I am having trouble getting the syntax correct for pulling the category (item.cat) into the x-show directive inside the template. Here is what I have that is not working-
Do I still include the quote marks? Do I need the backticks? I am sure it's a simple fix but I can't seem to get the right combo on the syntax. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The syntax is correct. From your snipoet is not clear what the data is though. Are you sure that your |
Beta Was this translation helpful? Give feedback.
The syntax is correct. From your snipoet is not clear what the data is though. Are you sure that your
tab
value matches item.cat?