You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to add support for conditions in ternary mode without automatically creating a new nested "if" statement? It would be great if we could maintain a flat structure like in the workaround.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I’ve been exploring the ternary mode and noticed an issue when adding new conditions.
Whenever I add a condition, it generates a new "if" statement in the JSON logic.
For example, with the logic in the above image, it generates the following structure:
Previously, before ternary mode was available, we used a workaround with if-else-then logic like this:
Is there a way to add support for conditions in ternary mode without automatically creating a new nested "if" statement? It would be great if we could maintain a flat structure like in the workaround.
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions