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 / TextInput Onchange wor...
Power Apps
Answered

TextInput Onchange works Only when Typed

(0) ShareShare
ReportReport
Posted on by 308

Hi PowerApps community,

 

I have a gallery in Power Apps that is set to a data grid view.

I have 3 Text Inputs (1 for COST PER UNIT, 1 for TAX, 1 for TOTAL).

The Cost per Unit and Tax is editable and when a user changes the value it will update the value immediately in the collection.

The Total text input is set to view and is the outcome of Cost per Unit + Tax.

However, the collection is not updating when the total has been changed. It seems that the Onchange Property only works when a user actually click the field and change the record and not if the record change automatically.

JB0007_0-1649947966204.png

 

Does anyone has a work around for this?

 

Categories:
  • Verified answer
    zmorek Profile Picture
    3,272 on at

    You could add a button to save the changes in the gallery, and have it Patch() the total back to the collection.

    Patch(CollectionName, ThisItem, {TotalColum: TextInputTotal.Text})

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard