Hi,
I'm making a canvas app in which I have a gallery containing many fields to fill, each of them has a combobox linked to a dataverse table.
I need to store the new value in a collection which looks like this:
colVehiclesToAdd:
vehicle1:
field1 ("alimentation"):
value
field2:
value
vehicle2:
field1:
value
...
...
So I wrote this for the OnChange of my combobox:
Patch(
colVehiclesToAdd;
ThisItem;
{
alimentation: Self.Selected.Name
}
);;
However, the selected value of my combobox randomly gets cleared after the Patch(). I guess it's because I use colVehiclesToAdd as the Items property of my gallery.
Any idea what I'm doing wrong?