From bd9fe547068c10fda1ff50956d1a6f573a22291f Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Mon, 23 Aug 2021 17:12:30 +0800 Subject: [PATCH] =?UTF-8?q?BI-92646=20fix:=E9=80=89=E8=89=B2=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6=E8=89=B2=E5=80=BC=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/colorchooser/colorchooser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/case/colorchooser/colorchooser.js b/src/case/colorchooser/colorchooser.js index ff10a642a..4eb14fdce 100644 --- a/src/case/colorchooser/colorchooser.js +++ b/src/case/colorchooser/colorchooser.js @@ -19,7 +19,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { _init: function () { var self = this, o = this.options; BI.ColorChooser.superclass._init.apply(this, arguments); - o.value = o.value || ""; + o.value = (o.value || "").toLowerCase(); this.combo = BI.createWidget({ type: "bi.combo", element: this, @@ -91,7 +91,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { }, setValue: function (color) { - this.combo.setValue(color || ""); + this.combo.setValue((color || "").toLowerCase()); }, getValue: function () {