Skip to main content
Community site session details

Community site session details

Session Id : AEIwO2SBI3AADChulxMtEm
Power Apps - Building Power Apps
Unanswered

Combo Box on change Multiple selections

Like (0) ShareShare
ReportReport
Posted on 10 Jan 2023 01:23:13 by 193

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

  • christian12 Profile Picture
    193 on 05 Apr 2023 at 01:46:35
    Re: Combo Box on change Multiple selections

    @benmashley unfortunately not

  • benmashley Profile Picture
    39 on 04 Apr 2023 at 13:41:50
    Re: Combo Box on change Multiple selections

    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

  • v-xiaochen-msft Profile Picture
    on 10 Jan 2023 at 03:16:53
    Re: Combo Box on change Multiple selections

    Hi @christian12 ,

     

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

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

     

    Best Regards,

    Wearsky

  • christian12 Profile Picture
    193 on 10 Jan 2023 at 03:06:41
    Re: Combo Box on change Multiple selections

    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
    on 10 Jan 2023 at 01:45:46
    Re: Combo Box on change Multiple selections

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete