Hi,
is there any way to use the AlertController with checkboxes but limit the number of maximum checked boxes? If the number is reached the others should be disabled until user unchecks one.
Greetings
Ralf
Hi,
is there any way to use the AlertController with checkboxes but limit the number of maximum checked boxes? If the number is reached the others should be disabled until user unchecks one.
Greetings
Ralf
That sounds like something outside the scope of alerts, but I expect you could do it with a modal.
I think its a quite common task to let user choose x of y items. Such alert multi selection is the best way to do this so It would be great if the AlertController would support it, since it should be a small modification anyway.
I created a feature request here:
I also added a workaround there which I figured out when digging through Ionic source code which can be used without modifying ionic stuff.