Browse Source

Pull request #210176: BI-118146 fix: 修复single_select_insert_list初始化发keyword为undefined的搜索请求问题

Merge in DEC/fineui from ~ZOEY.CHEN/fineui_:final/11.0 to final/11.0

* commit 'a7d5fb18324744b60b079afe359310346f53fda5':
  BI-118146 fix: 修复single_select_insert_list初始化发keyword为undefined的搜索请求问题
master
Zoey.Chen-陈泽语 2 years ago
parent
commit
121b4d6586
  1. 2
      src/widget/singleselect/singleselectlist.insert.js

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

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

Loading…
Cancel
Save