我已经采取了定制的插件,它给人的功能对于OPTGROUP这是在这里给出了Add scroll position return on select1. Add optgroup capability项目上点击鼠标移动自举,duallistbox
定制bootstrap-duallistbox (with optgroup feature)
我已经创建了一个样本示例显示一个运行的例子的plunker。选项组工作正常,但问题是,即使通过当我把move-on-select =“false”仍项目正在移动鼠标点击。
谁能告诉我这是为什么表现得就像是
<select ng-model="modal.selectedItems"
ng-options="item.name group by item.app for item in modal.allItems"
multiple
bs-duallistbox
move-on-select=false
></select>
它是'moveOnSelect'而不是'move-on-select'。 参考链接:http://www.virtuosoft.eu/code/bootstrap-duallistbox/ –
@prakashtank谢谢你的回复,'moveOnSelect:false'在脚本方面会被提及,我已经把它做成false 'jquery.dlbx.js',仍然没有用。 'move-on-select' is angular directive –