Can I do multiple If validations on expression for dynamic classes
In the expression shown in the image I can do the first “if” but the second appears as invalid (in red). Is there a way to make multiple "if" independents in the same expression for dynamic classes? Thank you very much in advance!
You just need to use “else if” like:
if $currentObject/attr1 then 'tab1-checked'
else if $currentObject/attr2 then 'tab2-checked'