I have a gallery with an text input box and I was trying to use the following power fx:
Clear(myCollection);
ForAll(
myGallery.AllItems As item,
Collect(myCollection, {value : textinput1.text})
)
The result of this is that all values returned to myCollection are the same value, that of the first item.