Search code examples
jquerymultiple-select

What is the callback function for disabling the multiple selection and checkbox in the multipleSelect function


I just wants to disable the multi selection and the checkbox option from the below the below code. Is there any call back function available for this? My code:

$('#denialCodesList-@viewId').multipleSelect({
            isopen: true,
            multipleWidth: 55,
            filter: true
        });

Solution

  • Try adding selectAll:false when initialising . From docs

    $('#denialCodesList-@viewId').multipleSelect({
            isopen: true,
            multipleWidth: 55,
            filter: true,
            selectAll: false,
    });