Hi,
I am looking to disable my container based on a condition.
From my dropdown, if I choose 'Fruit' then my output should contain the data for fruit, else of the vegetable.
Are you committed to a dropdown list or could you use radio buttons? Also, is your condition always binary or could the list include multiple selections? Asking as the design will be different based on your needs beyond your sample workflow?
Nope, the dropdown is just an example, but I would be using a control parameter
Hi @Mario36,
Radio buttons are the easiest way to disable containers where there are just two options. The one trick is to connect the radio button to the opposite container that you want to disable (Fruit selection button connected to the Vegetable container). Let me know if you have questions.
This partially helps but in my case, I would be building this as a macro, so I would need either a Macro Input / A Control Parameter to connect my data and I would be combining the outputs from the containers to a Macro Output.