Commit e325b6c8 by xuchao

Fixed: 多选空支持筛选

parent 4cc6a11c
...@@ -28,9 +28,9 @@ var App = (function () { ...@@ -28,9 +28,9 @@ var App = (function () {
selectableHeader: "<div class='custom-header'>Selectable items</div>", selectableHeader: "<div class='custom-header'>Selectable items</div>",
selectionHeader: "<div class='custom-header'>Selection items</div>", selectionHeader: "<div class='custom-header'>Selection items</div>",
}); });
$('#searchable').multiSelect({ $('#searchable, .searchable').multiSelect({
selectableHeader: "<input type='text' class='form-control search-input' autocomplete='off' placeholder='Search'>", selectableHeader: "<input type='text' class='form-control search-input' autocomplete='off' placeholder='筛选'>",
selectionHeader: "<input type='text' class='form-control search-input' autocomplete='off' placeholder='Search'>", selectionHeader: "<input type='text' class='form-control search-input' autocomplete='off' placeholder='筛选'>",
afterInit: function(ms){ afterInit: function(ms){
var that = this, var that = this,
$selectableSearch = that.$selectableUl.prev(), $selectableSearch = that.$selectableUl.prev(),
......
module BootstrapBeagle module BootstrapBeagle
VERSION = '0.2.4' VERSION = '0.2.5'
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment