Hello everyone, I'm a new PowerApps user and is struggling with a binding problem.
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


Report
All responses (
Answers (