diff --git a/src/widget/datetime/datetime.select.js b/src/widget/datetime/datetime.select.js index 4aafee21f3..4972c35e12 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); diff --git a/src/widget/relationview/relationview.item.js b/src/widget/relationview/relationview.item.js index 589b7e19a4..88d4355361 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",