TerryZ / SelectMenu

Simple, easily and diversity menu solution
https://terryz.github.io/selectmenu
MIT License
297 stars 49 forks source link

maxSelectLimit 选中限制无效。 #10

Open ghost opened 6 years ago

ghost commented 6 years ago

maxSelectLimit 设置参数,无效的作用。 api文档中无此说明。翻源代码有记录却无法使用。

TerryZ commented 6 years ago

SelectMenu 还没有开放这个参数的使用

xukaige commented 6 years ago
$("#nanduSelectMenu").selectMenu({
                    title: 'title',
                    showField: 'SelectMenuDisplay', 
                    keyField: 'Id',
                    multiple: false, 
                    lang: 'cn',  
                    position: 'right',
                    data: selectMenuGroupJson,
});

更改数据源selectMenuGroupJson,并重新绑定时为何没有效果?

TerryZ commented 6 years ago

@xukaige 官网的 DEMO 多认真看下,你会得到你想要的东西

xukaige commented 6 years ago

已解决,谢谢了