AlertController max. number of selected checkboxes


#1

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


#2

That sounds like something outside the scope of alerts, but I expect you could do it with a modal.


#3

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.


#4

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.