web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Resetting Modern Contr...
Power Apps
Suggested Answer

Resetting Modern Controls Within Galleries

(0) ShareShare
ReportReport
Posted on by 176
In the past, on controls within galleries such as text inputs, I have used the Reset property to reset their values by linking them to a variable, which I would switch from false to true and back.
 
However, modern controls such as the number input and checkbox are missing this property. How can I recreate this behavior? I want to be able to "reset" the contents of all controls in a gallery but using Reset() obviously doesn't work.
 
Alternatively, are there defined events that cause modern controls automatically reset? I've only found changing the default values as a method to reset them, but sometimes I would like those values to remain the same.
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,489 on at
    If your goal is to reset all controls in a gallery at once, the most robust pattern is to:
    • Load the gallery from a collection.
    • Save edits back to the collection with Patch().
    • Use ClearCollect() to reload the original data whenever you need to reset.
    This avoids the current limitations of modern controls and scales well as your gallery grows.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard