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 Apps
Answered

onchange

(0) ShareShare
ReportReport
Posted on by 69

Hey Guys , 

 

i have a powerapps that has a custom gallery and i have made the fields editable so the user can go change the values within the custom gallery. My Custom gallery is connected to a database, is there a way that when the user changes the the value or text within a field that it gets written back to the database straight away so like doing it with update on change maybe? i have tried it but i cant get it to work. is there a way to do it? 

 

Thanks in advance for the help ! 

Categories:
I have the same question (0)
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at
    You use the fields inside your gallery. So if you have a text box you update the onchange for that and use a patch function to write it to the DAtasource / collection.
  • Shafeel_07 Profile Picture
    69 on at

    so i have a custom gallery a text input field. in the onchange of the text input i have this code 

    OnChange: Patch( (datastouce) ,ThisItem,{Comments:ThisItem.Comments})

    when i write something in the gallery it doesnt update the value for that row.  what am i doing wrong ? 

  • Verified answer
    cwebb365 Profile Picture
    3,294 Most Valuable Professional on at
    Should be passing in the textbox.text to comment:
  • Shafeel_07 Profile Picture
    69 on at

    Thanks alot !! , that works now 🙂 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard