(var1.value == (1 || 2)) I'd like this to show this page element when var1's value is 1 or 2 what is wrong with this code?

Hey all,

Quick one - I’d like an element to appear with the var1 value is 1 or 2. I’m setting the value based on tab clicks, all works fine. But for some reason this isn’t working. This is the syntax generated by Wappler UI, but it doesn’t always output the right syntax so hoping for some insight from the forum!

Matt

Community Page
Last updated: