cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Checkboxes in Gallery - only one choosable, disable the others

Hi,
I would like to build a configurator. I have several screens with galleries of which you can choose one line of each gallery. I can jump back within the configuration and change the selection. To show which selection has been made I have added a checkbox. Unfortunately it is possible to select multiple checkboxes within one gallery. How can I change this?

Maybe it is possible to disable the checkboxes an the Save-buttons of the other lines?

Neewy_0-1603789689624.png

When the configuration is finished all checkboxes should be unchecked again.

Can anyone help me? Maybe you have another idea how I can solve the problem?

 

Beste regards

Neewy

 

3 REPLIES 3
Highlighted
Resolver III
Resolver III

hi there you can set the checkbox mode to view that way the user can see the "tick" but can make any change.

rubin_boer_0-1603796469460.png

 

Highlighted

Hello,

thanks for your answer.

The checkboxes in the gellery are somehow grouped. If I make this setting it is valid for all of them and the user can't make any changes. How can I access the individual checkboxes? Once one is checked the rest should be disabled until ithe one becomes unchecked.

Highlighted

i get it, i think

here is a gallery with three options. The label17 is the option text.

rubin_boer_0-1603807912593.png

when the user selects the checkbox, OnCheck = 

If(IsBlank(_SelectedOption) , UpdateContext({_SelectedOption: Label17.Text}))
OnUncheck = 
UpdateContext({_SelectedOption: ""})
Displaymode = 
If(_SelectedOption = Label17.Text || IsBlank(_SelectedOption), DisplayMode.Edit,DisplayMode.View)
 
now when the user select a box before another box can be selected the user needs to uncheck the current selected box.
 
will that help? in the above pic the user can click option 2 or 3

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,787)