I have a dropdown that gets its items from a SharePoint list, and with the below in OnChange:
Set(varPrimaryContact,cbCounty.Selected.'PrimaryContact')
I have a peoplepicker with the below in DefaultSelectedItems:
If(
Form1.Mode=FormMode.New,
{
DisplayName: Office365Users.UserProfile(varPrimaryContact.Email).DisplayName,
Claims: "i:0#.f|membership|" & Lower(varPrimaryContact.Email)
},'Primary Contact_DataCard1'.Default
)
My form cannot be submitted when I have the above DefaultSelecetedItems.
If I remove it, the form can be submitted.
What could be wrong?

Report
All responses (
Answers (