I have an application that allowing submission of a shoutout to more than 1 people with the following OnSelect action. Refer to the attached screenshot, the value of "Names" column (text column) for 2nd entry was not same as "User" column (people group column). How to set the value of "Names" column same as "User" column?
ForAll(
DataCardValue2.SelectedItems,
Patch(
'ShoutOut',
Defaults('ShoutOut'),
{
'Reward Types': DataCardValue9.Selected,
Comments: DataCardValue3.Text,
Points: Value(DataCardValue1.Text),
User: ThisRecord,
Names: DataCardValue4.Text
}
)
);