bootstrap multiselect dropdown disable Filtering not working

Viewed 8782

There is multiple multiselect dropdowns on a page so we using common option for all but want to select Filteringoption for specific dropdowns .

Options:

function getOptions(isFilter) {
    return {
        enableFiltering: isFilter,
        enableCaseInsensitiveFiltering: true,
        filterPlaceholder: 'Search ...',
        nonSelectedText: node,
        numberDisplayed: 1,
        maxHeight: 400,
    }
}

$('#DDLState').multiselect(getOptions(true)); //enable Filtering true working ok

$('#DDLCity').multiselect(getOptions());//enable Filtering false not working

But Filtering enabled for both.

1 Answers
Related