Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ramkisuni opened this issue Apr 30, 2015 · 1 comment
Labels

Comments

@ramkisuni
Copy link

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

@davidstutz
Copy link
Owner

Thanks for the report. I will have a look and at least create a demonstration. These options should not break the filtering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants