Browse Source

Pull request #3139: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'deca204416edf8e7586744446c71b0f7f13acbc2':
  bugfix
es6
guy-王川 2 years ago
parent
commit
8f4c352a97
  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)) { if (BI.isUndefined(v)) {
this.editor.setState(BI.Selection.None); this.editor.setState(BI.Selection.None);
} else { } else {
v = v || ""; v = v ?? "";
this.editor.setState(o.valueFormatter(v + "") || (v + "")); this.editor.setState(o.valueFormatter(v + "") || (v + ""));
} }
}, },

Loading…
Cancel
Save