How do I set tab visibillity from program?

I tried to find it in the docs but I can only find the manual method.
I have several tabs in the tab widget but want only the first tab visible until some action is performed.


Hey @tomgw - You can set the Tab’s Visible setting to JS, then reference a value in the Appsmith store. Then when you set the value to TRUE in the store, the tab will become visible.

2022-10-16 07.16.34

Thanks @GreenFlux ! I am still learning, and had not realised that tab visibillity is not a property that can be set from elsewhere, but, as you show here, that visibility depends on the property of something else. In your example a stored value.
Everything works now (until my next question :slight_smile: )