Fork me on GitHub

BsMultiselect

Multiselect JQuery Plugin for Bootstrap 4

$("select[multiple='multiple']").bsMultiSelect();

Horizontal Form / Disabled
Form Row / Custom Validation
Looks good!
Looks good!
Error!
Error!
Inline Form / Input groups
:-)
:-)



    $('#myDropdown').on('hide.bs.dropdown', function (jqEvent) {
        if (jqEvent.clickEvent) {
            var target = jqEvent.clickEvent.target;
            var container = $('#bsMultiSelectOnDropdown').bsMultiSelect("GetContainer");
            if (container== target || $.contains(container, target))
                return false;
        }
    })


    Initiated with JavaScript Object

      Return to Github