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 / Checkbox will not stay...
Power Apps
Answered

Checkbox will not stay Checked

(0) ShareShare
ReportReport
Posted on by 230

I have a Checkbox in a Gallery and when I check it - the checkmark disappears.  The Checkbox1_4.value will change to true and then right back to false.

 

I read a post from August 2017 that mentioned a bug.

 

I need to know the status of the bug or some insight on why the checkmark disappears and how I can fix it.

 

Thanks, Marc...

Categories:
I have the same question (0)
  • CurranD Profile Picture
    on at

    I had the same issue, just deleted the checkbox and inserted another one.

     

    Also worth checking whether the 'onCheck' action is set to uncheck it as I've also done this before... (onCheck was set to change the value of a variable to false, default value of check box was the variable.)

  • Verified answer
    MarcBailey Profile Picture
    230 on at

    Hi Curran D,

     

    Thanks for the insight. I just got a solution related to the Checkbox issue I was having on another post I was working with.

     

    This is the link if it might help you in the future.  Kudos out to Sienna.

     

    Checkbox Value needs to Patch or UpdateIf to SharePoint List

     

    Thanks, Marc

  • Kenzie Profile Picture
    10 on at

    Hi all - wondering if this bug you mentioned was fixed?

     

    I have the same issue. Unfortunately Sienna's comment in the referenced thread doesn't apply to my scenario as my check mark isn't linked to a column in the list.

     

    I have inserted a check box into a gallery displaying purchasing requisition lines. Idea was for users to enter a PO number (and other fields) into an input field outside the gallery, then check each line for which the PO number should apply. The patch works as expected , but the check mark disappears and will only stay if checked again. It's sure to confused users.

     

    Any insight is appreciated, even if it's another approach to achieve a bulk edit.

     

    Thanks!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Kenzie 

    I was having the same issue. I have a Gallery with a checkbox on each item indicating which rows the user would like to update when they push Submit at the bottom. The CheckBox would add the item to a Collection which would be Patched later.
    Outside of the Gallery, there is a Search Box to filter the items in the Gallery. Whenever you enter text in the Search Box, the Gallery would filter, and the CheckBoxes would all clear. The Collection would stay, but this is very confusing to the user.

     

    To solve this, I created a second Collection that would keep the records of which CheckBoxes to keep Checked, and Default is set to this Collection:

    OnCheck:

    If(IsBlank(LookUp(Boxes,Value=ThisItem.id)),Collect(Boxes,id)); 

    OnUncheck:

    Remove(Boxes,LookUp(Boxes,Value=ThisItem.id))

    Default:

    !IsBlank(LookUp(Boxes,Value=ThisItem.id))

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard