Browse Source

无JIRA任务 单选下拉值0选中trigger不显示

es6
windy 2 years ago
parent
commit
f81feff31e
  1. 2
      src/widget/singleselect/trigger/searcher.singleselect.js

2
src/widget/singleselect/trigger/searcher.singleselect.js

@ -128,7 +128,7 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
if (BI.isUndefined(v)) {
this.editor.setState(BI.Selection.None);
} else {
v = v || "";
v = BI.isNull(v) ? "" : v;
this.editor.setState(o.valueFormatter(v + "") || (v + ""));
}
},

Loading…
Cancel
Save