Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Swap combobox with buttons in a form

(0) ShareShare
ReportReport
Posted on by 725

Hi Everyone

I have been wrestling with this for a while now. I have a multiselect combobox that has three choices from Sharepoint. Using a gallery with buttons ,I have tried collecting the values in a collection and then trying to put the collection into the update property of the DataCard, but that didn't work, I suspect the data is not the right type. Also tried a million other things.

Any help would be appreciated

Categories:
  • Verified answer
    R Bakker Profile Picture
    725 on at
    Re: Swap combobox with buttons in a form

    I have deleted the combobox, but the following works for updating

     

    If(Not({Value:ThisItem.Value} in colDiet),Collect(colDiet,Table({Value:ThisItem.Value})),Remove(colDiet,{Value:ThisItem.Value}))

     

    Just have to work out the default property now

    Thank you BCBuizer  for your time.

     

  • BCBuizer Profile Picture
    22,025 Super User 2025 Season 1 on at
    Re: Swap combobox with buttons in a form

    Hi @Corissandageri 

     

    And how are the combo box and gallery interacting? Are they both displaying the same information?

  • R Bakker Profile Picture
    725 on at
    Re: Swap combobox with buttons in a form

    Choices column, combobox is  inside the form, gallery is inside the same datacard as combobox.

  • BCBuizer Profile Picture
    22,025 Super User 2025 Season 1 on at
    Re: Swap combobox with buttons in a form

    Hi @Corissandageri ,

     

    Can you provide a bit more background or perhaps some screenshots? What is the data type you are trying to Update? What is the data type of the source column? Do you receive any errors?

     

    Is the Combo Box inside or outside the form?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard