Browse Source

REPORT-24691 fix: 多选下拉树是否可编辑

es6
windy 5 years ago
parent
commit
ec771c0116
  1. 1
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  2. 1
      src/component/treevaluechooser/combo.treevaluechooser.js
  3. 1
      src/component/valuechooser/combo.valuechooser.insert.js
  4. 1
      src/component/valuechooser/combo.valuechooser.js
  5. 2
      src/widget/multiselect/multiselect.combo.js
  6. 2
      src/widget/multiselect/multiselect.insert.combo.js
  7. 6
      src/widget/multitree/multi.tree.combo.js
  8. 2
      src/widget/multitree/multi.tree.insert.combo.js
  9. 2
      src/widget/multitree/multi.tree.list.combo.js

1
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -25,6 +25,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
}
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
allowEdit: o.allowEdit,
text: o.text,
value: o.value,
watermark: o.watermark,

1
src/component/treevaluechooser/combo.treevaluechooser.js

@ -26,6 +26,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
allowEdit: o.allowEdit,
value: o.value,
watermark: o.watermark,
element: this,

1
src/component/valuechooser/combo.valuechooser.insert.js

@ -24,6 +24,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_select_insert_combo",
element: this,
allowEdit: o.allowEdit,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),

1
src/component/valuechooser/combo.valuechooser.js

@ -28,6 +28,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_select_combo",
element: this,
allowEdit: o.allowEdit,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),

2
src/widget/multiselect/multiselect.combo.js

@ -127,7 +127,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this.combo = BI.createWidget({
type: "bi.combo",
toggle: false,
toggle: !o.allowEdit,
container: o.container,
el: this.trigger,
adjustLength: 1,

2
src/widget/multiselect/multiselect.insert.combo.js

@ -121,7 +121,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this.combo = BI.createWidget({
type: "bi.combo",
toggle: false,
toggle: !o.allowEdit,
el: this.trigger,
adjustLength: 1,
container: o.container,

6
src/widget/multitree/multi.tree.combo.js

@ -20,7 +20,8 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-tree-combo",
itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn,
height: 24
height: 24,
allowEdit: true
});
},
@ -36,6 +37,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
this.trigger = BI.createWidget({
type: "bi.multi_select_trigger",
allowEdit: o.allowEdit,
height: o.height,
valueFormatter: o.valueFormatter,
text: o.text,
@ -53,7 +55,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
this.combo = BI.createWidget({
type: "bi.combo",
toggle: false,
toggle: !o.allowEdit,
container: o.container,
el: this.trigger,
adjustLength: 1,

2
src/widget/multitree/multi.tree.insert.combo.js

@ -70,7 +70,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
this.combo = BI.createWidget({
type: "bi.combo",
toggle: false,
toggle: !o.allowEdit,
container: o.container,
el: this.trigger,
adjustLength: 1,

2
src/widget/multitree/multi.tree.list.combo.js

@ -86,7 +86,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
this.combo = BI.createWidget({
type: "bi.combo",
toggle: false,
toggle: !o.allowEdit,
container: o.container,
el: this.trigger,
adjustLength: 1,

Loading…
Cancel
Save