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 / Disable multiple selec...
Power Apps
Answered

Disable multiple selection of checkboxes in Power Apps gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have added a list of checkboxes in the PowerApps gallery. I want to prevent the user from selecting more than one checkbox.

If condition is an option but it's not suitable for my scenario as the list of checkboxes is dynamic.

The number of checkboxes can increase or decrease anytime based on events. Please suggest if there is any possible solution for this.

Categories:
I have the same question (0)
  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Anonymous - can you share a screen grab? - is it a list of check boxes with one in each row of the Gallery, or is it a subgroup of check boxes, one in each row of your gallery?

     

    One potential option, but depends on your response to the above, is to collect that item OnCheck of your checkbox:

     

    Collect(YourCollection, ThisItem)

     

    and then try setting the display mode of your Checkbox to

     

    If(IsEmpty(YourCollection) || ThisItem.ID in YourCollection, DisplayMode.Edit, DisplayMode.Disabled)

     

    Then add this to the OnUncheck:

     

    Remove(YourCollection, ThisItem)

     

  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    Are you looking something like how to Disable other checkbox and select single?

    Here a post answered by @WarrenBelz 
    https://powerusers.microsoft.com/t5/Building-Power-Apps/how-to-Disable-other-checkbox-and-select-single/td-p/882092 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard