Skip to content

multiselect onchange or onDropdownHide event code disables search in the multiselect menu #529

@ramkisuni

Description

@ramkisuni

Hi,
A very nice plugin and I am using it extensively. Thank you

Need help in one use case, I have a multiselect with "enableFiltering: true". When I add onchange or onDropdownHide event to this multiselect like below the search option in the multiselect goes away and I see only options (I am able to select and use them though).

$('#selectMyList').multiselect({
onDropdownHide: function(event) {
alert("multiselect plugin");
}
}); (or)

$('#selectMyList').multiselect({
onChange: function(option, checked, select) {
alert("multiselect plugin");
}
});

if I add the above code, search gets removed in #selectMyList multiselect.

For other button click events, I am able to use the multiselect with search and no issues.

my jquery version : 2.1.3
bootstrap : 3.3.4

Can you please look into this?

Thank you

with warm regards
ramki

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions