-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
To replicate:
- Create a multiselect with filter
- Add a setState on onChange
- Run
- Write something on the filter box
- Click an item
Expected: multiselect should still be filtered
What happens: filter is cleared and multiselect lists all items
I'm guessing since the setState forces a render of the component, the filter box is back to default empty state.
Tried a work around stated in the bootstrap-multiselect site:
http://davidstutz.de/bootstrap-multiselect/#further-examples
$('#file-box-wrapper li.multiselect-filter input').val(this.filterKeyword).trigger('keydown');
text is placed in the filterbox but it does not update the list.
Metadata
Metadata
Assignees
Labels
No labels