Browse Source

Merge pull request #210202 in DEC/fineui from release/11.0 to bugfix/11.0

* commit '4906905826192a09749e2b865ce41bb451483e9d':
  BI-118146 fix: 修复single_select_insert_list初始化发keyword为undefined的搜索请求问题
research/test
superman 2 years ago
parent
commit
055c556e51
  1. 6
      src/widget/singleselect/singleselectlist.insert.js

6
src/widget/singleselect/singleselectlist.insert.js

@ -55,8 +55,10 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, {
},
itemsCreator: function (op, callback) {
op.keywords = [self.trigger.getKeyword()];
this.setKeyword(op.keywords[0]);
o.itemsCreator(op, callback);
if (BI.isNotEmptyString(op.keywords[0])) {
this.setKeyword(op.keywords[0]);
o.itemsCreator(op, callback);
}
},
});
this.searcherPane.setVisible(false);

Loading…
Cancel
Save