Permalink
Browse files

feat: 添加单选下拉框在设置readonly的注释

  • Loading branch information...
HuYuee committed Jun 29, 2017
1 parent 4f0bd06 commit b7a7156854c08bb897131c226e4ebefb7141ff0d
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/neoui-combo.js
View
@@ -36,9 +36,7 @@ var Combo = u.BaseComponent.extend({
if (hasClass(this.element, 'mutil-select')) {
this.mutilSelect = true
}
//onlySelect=true,可以设置单选下拉框为readonly
this.onlySelect = this.options['onlySelect'] || false;
if (this.mutilSelect)
this.onlySelect = true;

0 comments on commit b7a7156

Please sign in to comment.