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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more