DEV Community

thebernardlim
thebernardlim

Posted on

Reset Gallery selection in PowerApps

Once an item is selected in a PowerApps gallery, the Selectedproperty is set.

When navigating to other screens, the Selectedproperty will still stay, unless it is explicitly reset or another value is selected.

To reset, we could use

Reset({gallery name})

From what I encountered, sometimes however this alone will not work.

If this happens, check the Default property of your Gallery and ensure the value is set to {} instead of empty

Image description

On further reading on the official site, Powerapps will default the gallery selection to the first item of the list or Default property value.

Image description

Top comments (0)