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 / AutoDisableOnSelect fo...
Power Apps
Answered

AutoDisableOnSelect for CheckBox

(0) ShareShare
ReportReport
Posted on by 3,347

My app is just a bit sluggish.  Users, of course, are a bit impatient.  If the checkbox does not check immediately, it gets picked a second time, then it looks like nothing happens.  Buttons have a great feature called "AutoDisableOnSelect" that prohibits the dreaded double-click.  I wish for the same feature for checkboxes.  

 

Before you ask me to request this feature, I would like to know if anyone has a work-around.  Setting a true/false variable to toggle using "OnCheck" or "OnSelect" does not seem to work.  It waits before the box checks.  The delay is prior to the box checking.  That is the period of time I need it disabled.

 

Any ideas?

Categories:
  • KLatch Profile Picture
    57 on at

    I haven't tried it, but could you perhaps put a transparent button over the top of the checkbox and use its OnSelect to affect the checkbox?

     

    Button.OnSelect = UpdateContext({CheckboxChecked: !CheckboxChecked})

    CheckBox.Default = CheckboxChecked

     

    You couldn't use any of the Hover or Press indicators for the checkbox but I think it would prevent doubleclicking.

  • martinav Profile Picture
    3,347 on at
    Hmm.... interesting prospect... i'll give it a try. Thanks!
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @martinav ,

     

    Try to set below formulas for check box control:

    CheckBox1.OnCheck=Set(V,DisplayMode.View)
    CheckBox1.DisplayMode=V

    Regards,

    Mona

  • martinav Profile Picture
    3,347 on at

    I tried something similar to that.  There is still a lag between the time  you pick it, and the set() command responds where the checkbox will still continue to select/deselect.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for reporting this @martinav.. How are your apps currently performing? 

     

    @Anonymous 

  • Verified answer
    martinav Profile Picture
    3,347 on at

    Thanks for asking, @Anonymous . WIth reference to this issue, I havent revisited it in a while.  However, in general, things seem to be working rather well.  I have made some extreme improvements that have increased perfromance greatly, mainly using collections to get full items on a single on prem gateway call, and a method to pull in updates to data in leiu of a full data pull to keep data fresh in my apps.  Users are experiencing much less delay, and errors in-use have decreased not quite to zero, but close.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That's great to hear @martinav. I appreciate your follow up and all the hard work you've put into the community. I'm going to mark your latest reply as a solution for now. 

     

    @Anonymous 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard