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 / Is there something lik...
Power Apps
Unanswered

Is there something like onOutsideClick or Deselect?

(0) ShareShare
ReportReport
Posted on by 255

I have an input field(QTY) that when it has a value, a button becomes visible (To send this item to a cart). After sent, it resets the field(QTY). The problem is, when someone types a value, then clicks out of it, the button stays visible. Since this is happening inside a Gallery, other items that have no QTY are able to be added to the cart since the button is shown. How can I reset QTY when someone clicks off of it? (Assuming they clicked anywhere that isnt the cart button)

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    could make every control in the gallery reset the qty control and have qty default set to blank()  then be sure to have button visible set to the qty is not blank AND

    Gallery.Selected.QTY=ThisItem.QTY

    to ensure button is only being shown on the selected row

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard