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)
Inactive & Empty→ Change to
Active & Filled
Inactive & Filled→ Change to
Active & Filled+1
Active & Filled (=1)→ Change to
Inactive & Empty
Active & Filled (>1)→ Change to
Inactive & 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.