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 on change Mu...
Power Apps
Unanswered

Combo Box on change Multiple selections

(0) ShareShare
ReportReport
Posted on by 204

Hi Guys,

 

I'm trying to use the On change property for my combo box where a user can select multiple selections.

 

On change I'm updating my collection using the Patch method. My only issue is every time you select an item it gets out of the combo box and then you need to make the second selection by reopening the combo box.

 

I know this has to do with the on change patch formula. Unfortunately I don't know if there is a work around for this issue.

 

I want the patch to only run after the user has made all the required selection. Eg. On combo box exit.

 

Any help is greatly appreciated.

 

Thanks

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @christian12 ,

     

    Please try:

    1\Set the combo box's OnChang property to:

    Set(Var1,Self.Selected); Patch(XXXX)

     

    2\Set the combo box's DefaultselectedItems property to:

     

    Var1

     

    Best Regards,
    Wearsky

  • christian12 Profile Picture
    204 on at

    Thank you.

     

    Unfortunately it doesn't work.

     

    My Combobox items are set in the one collection column. Example

    Split(ThisItem.Controls,"|") which will give me say combobox selections of (Yellow, black, blue etc). 

     

    When a selection is selected I patch it back to a column within the collection. If a user selects Yellow and blue it will patch to the collection as Yello|blue.

     

    Trying the method you suggested only allows a single selection

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @christian12 ,

     

    Please try set the combo box's OnChang property to:

    Set(Var1,Self.SelectedItems); Patch(XXXX)

     

    Best Regards,

    Wearsky

  • benmashley Profile Picture
    39 on at

    Hey, Did you find the solution to this problem?

     

    I am having the same problem and the current solution on here is not suitable or correct

     

    Thanks

  • christian12 Profile Picture
    204 on at

    @benmashley unfortunately not

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard