Browse Source

numbereditor加allowBlank

es6
windy 7 years ago
parent
commit
571feec193
  1. 2
      bi/widget.js
  2. 2
      dist/bundle.js
  3. 8
      dist/bundle.min.js
  4. 2
      dist/widget.js
  5. 2
      src/widget/numbereditor/number.editor.js

2
bi/widget.js

@ -12036,6 +12036,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
return v; return v;
}, },
value: 0, value: 0,
allowBlank: false,
errorText: "", errorText: "",
step: 1 step: 1
}) })
@ -12047,6 +12048,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.sign_editor", type: "bi.sign_editor",
height: o.height, height: o.height,
allowBlank: o.allowBlank,
value: o.valueFormatter(o.value), value: o.valueFormatter(o.value),
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
errorText: o.errorText errorText: o.errorText

2
dist/bundle.js vendored

@ -87132,6 +87132,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
return v; return v;
}, },
value: 0, value: 0,
allowBlank: false,
errorText: "", errorText: "",
step: 1 step: 1
}) })
@ -87143,6 +87144,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.sign_editor", type: "bi.sign_editor",
height: o.height, height: o.height,
allowBlank: o.allowBlank,
value: o.valueFormatter(o.value), value: o.valueFormatter(o.value),
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
errorText: o.errorText errorText: o.errorText

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/widget.js vendored

@ -12036,6 +12036,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
return v; return v;
}, },
value: 0, value: 0,
allowBlank: false,
errorText: "", errorText: "",
step: 1 step: 1
}) })
@ -12047,6 +12048,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.sign_editor", type: "bi.sign_editor",
height: o.height, height: o.height,
allowBlank: o.allowBlank,
value: o.valueFormatter(o.value), value: o.valueFormatter(o.value),
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
errorText: o.errorText errorText: o.errorText

2
src/widget/numbereditor/number.editor.js

@ -13,6 +13,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
return v; return v;
}, },
value: 0, value: 0,
allowBlank: false,
errorText: "", errorText: "",
step: 1 step: 1
}) })
@ -24,6 +25,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.sign_editor", type: "bi.sign_editor",
height: o.height, height: o.height,
allowBlank: o.allowBlank,
value: o.valueFormatter(o.value), value: o.valueFormatter(o.value),
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
errorText: o.errorText errorText: o.errorText

Loading…
Cancel
Save