Hello!
I have a gallery that is selecting an item. Said item comes from a Sharepoint List, that among others, has a Person or Group field. Then, I have an edit form, that takes info from said Item. In this form, I have a combo box that is supposed to update the person or field group. I made a code that has done so, pasted below:
Patch(
'SmartCore Lite V2';
'Galeria Pré-Planeadas_1'.Selected;
{
Tecnico: {
'@odata.type': "#Microsoft.Azure.Connectors.Sharepoint.SPListExpandedUser";
Department: DataCardValue1.Selected.Department;
Claims: DataCardValue1.Selected.Claims;
DisplayName: DataCardValue1.Selected.DisplayName;
Email: DataCardValue1.Selected.Email;
JobTitle: DataCardValue1.Selected.JobTitle;
Picture: DataCardValue1.Selected.Picture
}
}
)
That being said, whenever I try to use the combo box, it only remains open for a brief moment before closing again and not allowing any changes, symptom that I will describe as the "closing thing" from now on. If I paste it in OnChange, the Power App gives me an error:
> "Network error while utilizing Patch function: There are conflicts with server changes, please reload."
The association goes through though, but then it starts doing the closing thing, and the item in the gallery starts to "flicker", like it was being continuously deselected and selected again. If I paste it in OnSelect, every time I click in the box it does the closing thing and the selection in the gallery flickers like on the Onchange, but only once. Any idea on how to fix this bug? I have tried deleting and making the combo box again, to no avail.