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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Fill combobox value of...
Power Apps
Unanswered

Fill combobox value of a gallery with a button

(0) ShareShare
ReportReport
Posted on by 12
Hello everybody. I have a gallery and in it a combobox with a "Yes" and "No" option
I would like a formula for when the button is activated it fills the combobox with the value "Yes"
Thanks for the support
 
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,516 Most Valuable Professional on at

    @Davidn7 ,

    OK - if you do not want any default value, set a Variable OnSelect of the button

    UpdateContext({varChoice: "Yes"})

    Then the DefaultSelectedItems

    {Value: varChoice}

    also at Screen OnVisible

    UpdateContext({varChoice: Blank()})

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Davidn7 Profile Picture
    12 on at

    The default value is Blank()
    The checklist is a little long so I thought of adding this feature. After the user completes it, he has the option to clear the checklist and the combo boxes in the gallery to return to blank

    Did you understand?

  • WarrenBelz Profile Picture
    153,516 Most Valuable Professional on at

    HI @Davidn7 ,

    There is a bit more information required here - what is the current DefaultSelectedItems of the Combo Box and if it on a Form, does it need to display the current saved value unless the button is pushed ?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 421

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard