From d74f63903c731ee8fe541f0030ed45045f38cbcd Mon Sep 17 00:00:00 2001 From: Urthur Date: Thu, 12 Oct 2017 17:30:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=B6=E5=88=86=E7=A7=92=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E4=B8=8D=E5=8F=AF=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/datetime/datetime.select.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/datetime/datetime.select.js b/src/widget/datetime/datetime.select.js index 4aafee21f..4972c35e1 100644 --- a/src/widget/datetime/datetime.select.js +++ b/src/widget/datetime/datetime.select.js @@ -16,6 +16,7 @@ BI.DateTimeSelect = BI.inherit(BI.Widget, { this.editor = BI.createWidget({ type: "bi.sign_editor", value: this._alertInEditorValue(o.min), + allowBlank: false, errorText: BI.i18nText("BI-Please_Input_Natural_Number"), validationChecker: function(v){ return BI.isNaturalNumber(v); From 66965c08a1b5b01de380c8c3d5b9a882dc2e8883 Mon Sep 17 00:00:00 2001 From: Urthur Date: Thu, 12 Oct 2017 21:01:36 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E4=B8=AD=E5=85=B3=E8=81=94=E8=A1=A8=E7=9A=84=E5=85=B3=E8=81=94?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=9C=AA=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/relationview/relationview.item.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widget/relationview/relationview.item.js b/src/widget/relationview/relationview.item.js index 589b7e19a..88d435536 100644 --- a/src/widget/relationview/relationview.item.js +++ b/src/widget/relationview/relationview.item.js @@ -35,7 +35,8 @@ BI.RelationViewItem = BI.inherit(BI.BasicButton, { value: o.value, height: o.height, textAlign: "left", - width: o.isPrimary ? 70 : 90 + width: o.isPrimary ? 70 : 90, + lgap: o.isPrimary ? 0 : 10 }); BI.createWidget({ type: "bi.vertical_adapt",