Hello @mdsmith1,
container1.hidden = true won't work because component properties are read-only at runtime in Retool.
Instead, create a Temporary State (for example, showContainer) and bind the container's Hidden property to that state:
{{ !showContainer.value }}
You can then control the container's visibility by updating the state:
showContainer.setValue(true); // Show container
showContainer.setValue(false); // Hide container
Using a temporary state to drive the hidden property is the recommended approach for dynamically showing or hiding components in Retool.
The forum link is attached below. Also, the solution you provided in your 2023 forum post is working correctly for this use case.
