select2 trigger select2:select code example
Example 1: select2
$('.js-example-basic-single').select2({
placeholder: 'Select an option'
});
Example 2: select2
$(".js-example-basic-multiple-limit").select2({
maximumSelectionLength: 3
});
$('.js-example-basic-single').select2({
placeholder: 'Select an option'
});
$(".js-example-basic-multiple-limit").select2({
maximumSelectionLength: 3
});