I’m currently building a messaging app to practice my bubble skills. I want to change the color of the chat that is currently being selected. For this, I have a custom state on the repeating group, as well as one on the group inside the repeating group. Once I click an element, there are 2 events that get called. The first one sets the state of the repeating group as “no”, and the second one sets the state of the element within the RG that has been clicked as “yes”:
The group within the repeating group has 2 conditions:
Now, here is the problem: if the 2 conditions are listed in that order, the reset doesn’t work, i.e. once the color of an element has been changed, it doesn’t get reset once another element has been selected. On the other hand, if I invert the order of the conditions like so:
then, the color never gets changed.
Has anyone encountered a similar problem? Thank you very much!