cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Katjua
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
pcp
Frequent Visitor

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

Katjua
Frequent Visitor

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (36,874)