Browse Source

treeValueChooser update

es6
DESKTOP-49I29QK\zsmj 7 years ago
parent
commit
cf3c6c03ee
  1. 3
      src/component/treevaluechooser/abstract.treevaluechooser.js

3
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -627,6 +627,9 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
_isMatch: function (parentValues, value, keyword) {
var node = this._getTreeNode(parentValues, value);
if (!node) {
return false;
}
var find = BI.Func.getSearchResult([node.text || node.value], keyword);
return find.find.length > 0 || find.match.length > 0;
},

Loading…
Cancel
Save