Browse Source

BI-95811 feat: 支持direction

es6
imp 3 years ago
parent
commit
78eb0a6518
  1. 1
      src/case/combo/editoriconcheckcombo/combo.editiconcheck.js
  2. 1
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  3. 1
      src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js
  4. 3
      src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js
  5. 1
      src/case/combo/textvaluecombo/combo.textvalue.js

1
src/case/combo/editoriconcheckcombo/combo.editiconcheck.js

@ -64,6 +64,7 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
this.editorIconCheckCombo = BI.createWidget({ this.editorIconCheckCombo = BI.createWidget({
type: "bi.combo", type: "bi.combo",
container: o.container, container: o.container,
direction: o.direction,
element: this, element: this,
adjustLength: 2, adjustLength: 2,
el: this.trigger, el: this.trigger,

1
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -52,6 +52,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
type: "bi.combo", type: "bi.combo",
element: this, element: this,
container: o.container, container: o.container,
direction: o.direction,
adjustLength: 2, adjustLength: 2,
el: this.trigger, el: this.trigger,
popup: { popup: {

1
src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

@ -22,6 +22,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
type: "bi.combo", type: "bi.combo",
cls: "bi-border bi-focus-shadow", cls: "bi-border bi-focus-shadow",
container: o.container, container: o.container,
direction: o.direction,
adjustLength: 2, adjustLength: 2,
toggle: false, toggle: false,
ref: function () { ref: function () {

3
src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js

@ -44,6 +44,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
this.textIconCheckCombo = BI.createWidget({ this.textIconCheckCombo = BI.createWidget({
type: "bi.combo", type: "bi.combo",
container: o.container, container: o.container,
direction: o.direction,
element: this, element: this,
adjustLength: 2, adjustLength: 2,
el: this.trigger, el: this.trigger,
@ -82,4 +83,4 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
} }
}); });
BI.TextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo); BI.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo);

1
src/case/combo/textvaluecombo/combo.textvalue.js

@ -46,6 +46,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
this.textIconCombo = BI.createWidget({ this.textIconCombo = BI.createWidget({
type: "bi.combo", type: "bi.combo",
container: o.container, container: o.container,
direction: o.direction,
element: this, element: this,
adjustLength: 2, adjustLength: 2,
el: this.trigger, el: this.trigger,

Loading…
Cancel
Save