I have one component containing 5 variants. I want to be able to click a button (a different component) to toggle through those 5 variants in a specific order. When reaching the last variant in the list, pressing again returns to the first one. To do this I’m using a variable and a “On click” conditional with 5 “if…” statements - one for each variant. All “else…” conditions are blank.
However, it is not possible to toggle through all the variants, it almost works but at least one item is always skipped - and which one is skipped seems to depend on the order of the “if…” statements. Reordering them changes the results, which makes me think there is a bug somewhere in the conditional implementation. Is there a another way to do this (while staying in the same Frame)?