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 / Does Gallery component...
Power Apps
Unanswered

Does Gallery component bind to a collection?

(0) ShareShare
ReportReport
Posted on by

Hello everyone, I'm a new PowerApps user and is struggling with a binding problem.

anhstar_0-1675352016628.png

I have a gallery with Items being a local collection named CollectFP.

At the start of the application, I have: OnStart: ClearCollect(CollectFP; {Id: GUID(); Pompe:"1"; Heures:"111,0"; NbDepart: "111"})

In my gallery, I added 2 InputText to display and accept changes. 

For each of the InputText, I bind it to a field in the collection with:

Default : ThisItem.Heures

Default : ThisItem.NbDepart

 

At the beginning, when my collection have several items, as in the screenshot above, you can see value displaying. 

Recently, like yesterday, when I modify a InputText value by entering a new number, the collection CollectFP does not change. It will keeps its original value. I thought that the InputText is bind to the field and whenever I change it value using the InputText, it should also update that field for a particular item in the collection. Am I right to assume that?

 

I also tried a workaround by getting AllItems of the gallery and get InputText's value for each item, but somehow, I can't get the value I just entered, I get the original value from the collection even if I do something like this: 

Set(varToto; First(Gallery6.AllItems).TextInput5.Text)

The varToto still only have the value original value from the collection.

 

Can anyone please help?

 

Thanks in advance

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 516

#2
WarrenBelz Profile Picture

WarrenBelz 428 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 292

Last 30 days Overall leaderboard