Hello,
Wasn’t exactly sure how to tag this as it may be a question or feedback so bear with me.
I have a voting component which can be one of two variables inactive:
- Inactive & Empty(String)
- Inactive & Filled(Number)
But a single variable when active:
- Active & Filled(Number)
My interactions:
- Tap
Inactive & Empty
→ Change toActive & Filled
- Tap
Inactive & Filled
→ Change toActive & Filled
+1 - Tap
Active & Filled (=1)
→ Change toInactive & Empty
- Tap
Active & Filled (>1)
→ Change toInactive & Filled
-1
I’ve set two local variables #Vote Count
= 0 & T Vote Count [Empty]
= “Vote”.
Moving from inactive states to active state works fine for both cases, but returning to inactive state conditionally is where I’m running into issues.
Currently I have it set to Tap → Change to Inactive & Filled
& Set Variable #Vote Count
- 1. But attempting to add the conditional if #Vote Count
is equal to 1 Change to Inactive & Empty
is not allowed.
It will give me the option to do this, but attempting to toggle props does not work.
Any ideas?