Check for blank:
For a People Picker Combo Box linked to a SharePoint People column, the selected item should be checked using the IsBlank() function on Selected
If(
IsBlank(cboKeyContact.Selected),
// Show error or block patch
Notify("Please select a contact.", NotificationType.Error),
// Proceed with Patch
Patch(
'YourSPList',
Defaults('YourSPList'),
{
KeyContact: cboKeyContact.Selected
}
)
)
If the Combo Box (cboKeyContact) is linked to a People column, make sure the Items property
cboKeyContact.Items = Office365Users.SearchUser({searchTerm: cboKeyContact.SearchText})
Validate the field in your form’s OnSubmit action.
If(
IsBlank(cboKeyContact.Selected),
Notify("Key Contact is required.", NotificationType.Error),
SubmitForm(EditForm1)
)
Set AllowMultipleSelection to false if you want only one person to be selected.
This should address your issue, pls let me know how it goes.