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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Combo Box on change Multiple selections

(0) ShareShare
ReportReport
Posted on 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

I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at
    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

  • christian12 Profile Picture
    193 on at
    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 at
    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

  • benmashley Profile Picture
    39 on at
    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

  • christian12 Profile Picture
    193 on at
    Re: Combo Box on change Multiple selections

    @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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 655 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 391 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 225

Last 30 days Overall leaderboard