cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Person field combo box OnChange issue

Issue1

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. 

 

Issue 2

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.

 

Is this a bug? If not, what am I missing? 

 

Thank you

2 REPLIES 2
Highlighted
Frequent Visitor

Re: Person field combo box OnChange issue

Check the code in the Item property of the form. What does it say?

Highlighted
Frequent Visitor

Re: Person field combo box OnChange issue

LookUp(<SP list>, ID = CalendarEventsGallery1.Selected.ID)

 

The form is fetching the details of the item selected from a gallery on previous screen. 

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,344)