M13Checkbox icon indicating copy to clipboard operation
M13Checkbox copied to clipboard

create group of M13Checkbox

Open AliJalil opened this issue 8 years ago • 3 comments

how can I create a group of M13Checkbox which when I check one of them the others automatically unchecked

AliJalil avatar Mar 29 '17 18:03 AliJalil

Has anyone got answer for the same yet ?

nish2nisarg avatar Nov 03 '17 10:11 nish2nisarg

This is because checkbox controller is singleton by default:

fileprivate var controller: M13CheckboxController = DefaultValues.controller

I assume it's a bug... As a workaround you can try this fix:

checkbox.stateChangeAnimation = .stroke

With the current implementation, it resets the default controller to a new instance.

LeonidKokhnovich avatar Dec 02 '17 01:12 LeonidKokhnovich

Hi. Any update on this issue. I am facing the same problem. I have a tableView which has a checkBox, label and a radioButton in it. I have to select only one radioButton at a time. The other radioButtons in the cell get automatically deselected when I select new radioButton. I am badly stuck on this issue. Please help.

ikyh avatar Mar 13 '18 12:03 ikyh