DEV Community

thebernardlim
thebernardlim

Posted on

2

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

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay