cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Samit
Advocate I
Advocate I

OnChange event of control gets fired every time Gallery data loaded

Scenario:-

1.  Text box is placed on the gallery and collection(colData) is bind to a gallery.

2.  Another collection(colUpdatedData) is created to keep track of the changes made by user. This collection is updated on the OnChange event of Textbox.

3.  On save button click the colUpdatedData is patched to dataverse.

 

Problem:-

1. The onChange event of text box get triggered everytime gallery is loaded. Due to that colUpdateData collection does not keep track of changed content correctly.

2. That means when we implement pagination in gallery and user navigate between pages, the colUpdateData collection is getting updated with additional item because the gallery data is loaded on each navigation.

 

How can we make sure the onChange event of textbox only trigger when user made changes instead of every time data is loaded to gallery?

 

0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,621)