我已经在我的项目中实现了带有搜索的 Bootstrap 多选,但是当我搜索下拉列表中存在的内容时,它会显示“全选”,但我想显示没有找到任何项目。
下面是我的bootstrap实现:
$('.multiselectFilter').multiselectFilters({
enableFiltering: true,
filterPlaceholder: 'Search',
enableCaseInsensitiveFiltering : true,
includeSelectAllOption: true,
filterPlaceholder: 'Search',
dropRight: true
});
最佳答案
我猜你需要把这个属性设置为false
includeSelectAllOption: false
然后它不会要求您选择所有
值
关于javascript - Bootstrap 多选搜索问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21303651/