I\'m trying to validate select2 field using jquey.validation plugin but nothing happens.
I want to make select required field.
I\'m using this custom validat
$("select.select2-me").each(function(index, el) { if ($(this).is("[data-rule-required]") && $(this).attr("data-rule-required") == "true") { $(this).on('select2-close', function(e) { $(this).valid() }); } });
work for me.