Showing results for 
Search instead for 
Did you mean: 

Does setting visibility even work?

This should be an easy one. I have a gallery and a button on a SharePoint customized Powerapps form.


Button.OnSelect = Gallery.Visible=false

Save and publish.


Click, nothing. Reload page, click, nothing. Clear browser cache, click, nothing.


E for effort though, keep up the great work...

Status: New
Helper II

Try this method:

1- on the button.OnSelect:

 UpdateContext({VisibilityToggle: false})

2-Assign the Visible property of the gallery to VisibilityToggle,