Hi,
I have a problem and I don't know how to solve it. I have a gallery that contains many incident reports. To filter these reports, I use several filters and one of these is a checkbox. To set them horizontally, I have created a gallery containing this checkbox with the three options. I would like to choose only one option but as I am using a gallery it allows me to choose more than one option. How can I select this?
Thank you very much and best regards,
Josu.
Hello, your solution works really good, but I have one issue.
I'm using an Textinput to search for entries in the gallery. Im using Filter(test;Startswith(textinput)) on the gallerys item property.
But as soon as im typing something in the textinput it automatically ticks one checkbox.
Thanks for your help!
Hi Warren,
Sorry for that, I dont that info can be helpful.. Okay I will try.
Thank you .
Hi @Anonymous ,
It would have been useful to know that you are also populating a collection OnCheck (and removing the item OnUncheck) Your problem will be with your Default as this will refer to a collection field and the pattern I posted will not work there.
For the checkbox to be delegable, it is linked to a dropdown as shown in this video.
https://www.youtube.com/watch?v=5dSk5iOgT68&ab_channel=RezaDorrani
I think this may be the reason why your method is not working. If you want, you can try with the configuration that has the gallery with the checkbox in the video.
Thank you very much for all the support, it is really appreciated.
@Anonymous ,
What does not work - I have tested it here with the expected results - I assume the check box is in a Gallery
Do you have these 3 settings ?
This doesnt work... But thank you for the support
@Anonymous
Put the code on the OnSelect instead of the OnCheck it you want to also uncheck the box. I just tested again and it works as expected.
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.
Visit my blog Practical Power Apps
This image is when you open the screen (without select):
This capture is when you select one option (work fine):
But when we change the textbox(option), doestn work fine...
I think that can be because when you "OnUncheck" the checkbox, the value cannot have a blank value.
@Anonymous ,
What exactly does not work (see my video working) ?
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional