I have 2 screens. BrowseScreen with gallery. Once I click on an item, it navigates to edit form on EditScreen. I have set a flag variable. OnChange for a person combobox, the flag is set to 1.
Issue: For a given record from gallery in BrowseScreen. Once I select one and navigate to edit screen, all the Person fields get triggered, and the variable is set to 1 when I haven't clicked in them at all. I does not do this for simple text fields.
EDIT: I only does this when the person field is filled. It's as if when the screen is loaded, all the code is executed.
On an existing record, when I remove a name from the person combo box field and hit the submit button which has SubmitForm function, the name does not get removed in data source (SharePoint). When I manually remove it from SharePoint, it works. It works for regular text field.