web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combo box closes by it...
Power Apps
Answered

Combo box closes by itself and causes "flickering" in gallery.

(0) ShareShare
ReportReport
Posted on by 31

Hello!
I have a gallery that is selecting an item. Said item comes from a Sharepoint List, that among others, has a Person or Group field. Then, I have an edit form, that takes info from said Item. In this form, I have a combo box that is supposed to update the person or field group. I made a code that has done so, pasted below:

 
Patch(
    'SmartCore Lite V2';
    'Galeria Pré-Planeadas_1'.Selected;
    {
        Tecnico: {
            '@odata.type': "#Microsoft.Azure.Connectors.Sharepoint.SPListExpandedUser";
            Department: DataCardValue1.Selected.Department;
            Claims: DataCardValue1.Selected.Claims;
            DisplayName: DataCardValue1.Selected.DisplayName;
            Email: DataCardValue1.Selected.Email;
            JobTitle: DataCardValue1.Selected.JobTitle;
            Picture: DataCardValue1.Selected.Picture
        }
    }
)
 

That being said, whenever I try to use the combo box, it only remains open for a brief moment before closing again and not allowing any changes, symptom that I will describe as the "closing thing" from now on. If I paste it in OnChange, the Power App gives me an error:

> "Network error while utilizing Patch function: There are conflicts with server changes, please reload."

The association goes through though, but then it starts doing the closing thing, and the item in the gallery starts to "flicker", like it was being continuously deselected and selected again. If I paste it in OnSelect, every time I click in the box it does the closing thing and the selection in the gallery flickers like on the Onchange, but only once. Any idea on how to fix this bug? I have tried deleting and making the combo box again, to no avail.

Categories:
  • Verified answer
    ACosta Profile Picture
    31 on at

    Well I didn't find a solution, so I just made another combo box outside of the Form, placed within it the exact same definitions I did in the one inside the form, and it worked just fine. I don't understand why the one inside the forms was causing so much trouble but oh well.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @ACosta,

    Thanks for your sharing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard