picker的问题
Open
- Dominant language
- JavaScript
- Stars
- 13.5k
- Forks
- 6.5k
- PR merge metrics
- No merged PRs in 30d
Description
设置标准json数组后,出现的picker中,只有第一项董事长 叶文洁。
(function($, doc) {
$.init();
$.ready(function() {
//普通示例
var userPicker = new $.PopPicker();
userPicker.setData([{
value: 'ywj',
text: '董事长 叶文洁'
}, {
value: 'aaa',
text: '总经理 艾AA'
}, {
value: 'lj',
text: '罗辑'
}]);
userPicker.show(function(items) {
console.log( JSON.stringify(items[0]))
//返回 false 可以阻止选择框的关闭
//return false;
});
})
})(mui, document);
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.