I'm wondering if it's possible to enforce a minimum number of selections in a multiselect widget. I'd like to prevent the user from removing all items from the list, requiring at least one for validity. I see that there's a maxSelectedItems
option, but there doesn't appear to be a minSelectedItems. I played with the select and change event hooks, but select doesn't seem to fire on removal and change fires after the item has been removed from the list.
Is there another way I could go about this?