Browse Source

REPORT-24696 fix: 不影响父节点勾选状态的复选树支持自定义水印和默认值

es6
windy 5 years ago
parent
commit
250cceb293
  1. 3
      changelog.md
  2. 1
      src/widget/multiselect/trigger/searcher.multiselect.js
  3. 2
      src/widget/multitree/trigger/searcher.list.multi.tree.js

3
changelog.md

@ -1,4 +1,7 @@
# 更新日志 # 更新日志
2.0(2019-12)
- 不影响父节点勾选状态的复选树支持自定义水印和默认值
2.0(2019-11) 2.0(2019-11)
- 日期系列新增setMinDate和setMaxDate接口 - 日期系列新增setMinDate和setMaxDate接口
- 修复了同步复选树设置节点默认open后, 叶子节点无法选中的问题 - 修复了同步复选树设置节点默认open后, 叶子节点无法选中的问题

1
src/widget/multiselect/trigger/searcher.multiselect.js

@ -26,6 +26,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.MultiSelectEditor.EVENT_FOCUS, eventName: BI.MultiSelectEditor.EVENT_FOCUS,
action: function () { action: function () {

2
src/widget/multitree/trigger/searcher.list.multi.tree.js

@ -26,6 +26,8 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
height: o.height, height: o.height,
text: o.text,
watermark: o.watermark,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",
height: o.height height: o.height

Loading…
Cancel
Save