Select2 validate and force user to select ast least X items
问题 I'm having some trouble trying to do some custom validation with a select2 jQuery plugin I need to force user to select at least 2 items from the list . The select2 plugin has a property maximumSelectionSize that allows user to select up to X items from the list, but it does not have the "inverse" property. Also the required tag won't work because I need user to select more than one item. As I'm working developing a custom validator with parsley validation plugin, I'd need to know how to get