Skip to content

Conversation

kielni
Copy link

@kielni kielni commented Dec 16, 2015

I need to draw the multiselect with a filter already applied (for example, from query parameters). I didn't see a way to do that right now. This change checks options.preFilter, and if set applies filters to options when building the multiselect.

Please take a look and let me know if this makes sense.

set options.preFilter to filter options when building multiselect
to support programmatic filtering: `$(selectId).multiselect('runFilter', 'text');`
@davidstutz
Copy link
Owner

Definitely a useful option. However, this can't be merged automatically anymore and there are also some other filter-related PRs. So I will try to integrate it manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants