Open darkestmon opened 6 years ago
To replicate:
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.
On a deeper look, looks like bootstrap-multiselect itself doesn't allow initialization of filter box. This might be a bigger issue to fix.
To replicate:
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.