layui多选下拉框插件地址

地址:
https://maplemei.gitee.io/xm-select/#/component/install
示例:
var demo1 = xmSelect.render({ el: "#select_user_box", language: "zn", data: [ {name: '张三', value: 1}, {name: '李四', value: 2}, {name: '王五', value: 3}, ], toolbar: { show: true, list: ["ALL", "CLEAR", "REVERSE"], }, filterable: true, //搜索 paging: true, //分页 pageSize: 10, autoRow: true, size: "mini", }); // 福建--设置选中值 demo1.setValue([{name:'11',value:"sd"}]);
截图:

posted @ 2022-12-08 11:58  歇歇吧  阅读(110)  评论(0编辑  收藏  举报