Browse Source

时分秒输入不可为空

es6
Urthur 7 years ago
parent
commit
d74f63903c
  1. 1
      src/widget/datetime/datetime.select.js

1
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);

Loading…
Cancel
Save