diff --git a/src/case/colorchooser/colorchooser.js b/src/case/colorchooser/colorchooser.js index 737b3a189..d6a6e7481 100644 --- a/src/case/colorchooser/colorchooser.js +++ b/src/case/colorchooser/colorchooser.js @@ -30,6 +30,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { isNeedAdjustHeight: false, el: BI.extend({ type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", + simple: o.simple, ref: function (_ref) { self.trigger = _ref; }, diff --git a/src/case/colorchooser/colorchooser.simple.js b/src/case/colorchooser/colorchooser.simple.js index b360efbf3..0b3f7bea3 100644 --- a/src/case/colorchooser/colorchooser.simple.js +++ b/src/case/colorchooser/colorchooser.simple.js @@ -20,6 +20,7 @@ BI.SimpleColorChooser = BI.inherit(BI.Widget, { this.combo = BI.createWidget({ type: "bi.color_chooser", + simple: o.simple, element: this, container: o.container, value: o.value,