Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多选、JSON渲染、分组功能,在 searchable = false 时,下拉数据不显示 #8

Closed
wjl0814 opened this issue Aug 24, 2017 · 1 comment
Labels

Comments

@wjl0814
Copy link

wjl0814 commented Aug 24, 2017

var jsonArray = [
{
"id": 1, // value值
"disabled": false, // 是否禁选
"groupName": "分组名",
"groupId": 3,//分组ID
"selected": false, // 是否选中
"name": "Betty Deborah Jackson" // 名称
},
{
"id": 2,
"disabled": false,
"groupName": "分组名",
"groupId": 2,
"selected": false,
"name": "Jason Barbara Clark"
}
]
$('#dropdown-mul').dropdown({
data: jsonArray,
multipleMode: 'label',
searchable: false,
choice: function () {
console.log(arguments, this);
}
});

@Janking Janking added the bug label Aug 24, 2017
Janking added a commit that referenced this issue Aug 24, 2017
Janking added a commit that referenced this issue Aug 24, 2017
Janking added a commit that referenced this issue Aug 24, 2017
@Janking
Copy link
Owner

Janking commented Aug 24, 2017

@wjl0814 已修复,请下载最新版本 v1.1.7

@Janking Janking closed this as completed Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants