Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Canvas app modern checkbox behavior

(2) ShareShare
ReportReport
Posted on by 23
I'm being driven crazy by some behavior of the modern "Check box" control on my Canvas app.
The checkbox is not bound to database data; it is just used to determine a feature of a PA flow.
The desired behavior is that it defaults to checked, then can be changed at will by the user, but can also be changed programmatically when a dropdown choice gets made.

I have the Checked property assigned to a global variable. The variable is set true in app start, and is also set true on the action of a "New" button that displays a "modal" that it is on.
The onchange from the dropdown also sets the global to true or false as appropriate.
Finally, the onchecked and onunchecked checkbox properties set the variable as well.

A text control displayed in the same place as the checkbox behaves perfectly. The checkbox does not.
The current behavior is that when I start the app and click "New", the checkbox is not checked. Trying to change it as the user does not change the value.
I change the visibility of the container off and on a few times, and then the checkbox starts to behave correctly and keeps doing so.
I've tried adding Reset(checkbox) after I set the variable. I've also tried setting the variable to false and then true again.

Any ideas on how to resolve? It's pretty lame to have to tell users to do that before using the app.

Not a PCF question, but Categories is required and only has 3 inappropriate options ?!?
Thanks.
John
Categories:
  • Suggested answer
    Michael E. Gernaey Profile Picture
    42,798 Super User 2025 Season 1 on at
    Canvas app modern checkbox behavior
    Hi @jprny
     
    I would have to see all the code etc etc, however I can warn that there have been others commenting specifically that this control is behaving weirdly for a while now.
     
    I would recommend using the classic and not the modern.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >