Browse Source

BI-27490

es6
windy 6 years ago
parent
commit
c4428b52ce
  1. 1
      demo/js/widget/numbereditor/demo.number_editor.js
  2. 14
      dist/_fineui.min.js
  3. 2
      dist/bundle.js
  4. 10
      dist/bundle.min.js
  5. 1
      dist/demo.js
  6. 2
      dist/fineui.js
  7. 14
      dist/fineui.min.js
  8. 2
      dist/widget.js
  9. 2
      src/widget/numbereditor/number.editor.js

1
demo/js/widget/numbereditor/demo.number_editor.js

@ -22,6 +22,7 @@ Demo.FileManager = BI.inherit(BI.Widget, {
} else {
editor.setDownEnable(true);
}
BI.Msg.toast(editor.getValue());
});
return {
type: "bi.vertical",

14
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.js vendored

@ -102049,7 +102049,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
errorText: o.errorText
});
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () {
o.value = this.getValue();
o.value = BI.parseFloat(this.getValue());
self.fireEvent(BI.NumberEditor.EVENT_CHANGE);
});
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () {

10
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/demo.js vendored

@ -13054,6 +13054,7 @@ Demo.FileManager = BI.inherit(BI.Widget, {
} else {
editor.setDownEnable(true);
}
BI.Msg.toast(editor.getValue());
});
return {
type: "bi.vertical",

2
dist/fineui.js vendored

@ -102298,7 +102298,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
errorText: o.errorText
});
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () {
o.value = this.getValue();
o.value = BI.parseFloat(this.getValue());
self.fireEvent(BI.NumberEditor.EVENT_CHANGE);
});
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () {

14
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/widget.js vendored

@ -14240,7 +14240,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
errorText: o.errorText
});
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () {
o.value = this.getValue();
o.value = BI.parseFloat(this.getValue());
self.fireEvent(BI.NumberEditor.EVENT_CHANGE);
});
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () {

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

@ -31,7 +31,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
errorText: o.errorText
});
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () {
o.value = this.getValue();
o.value = BI.parseFloat(this.getValue());
self.fireEvent(BI.NumberEditor.EVENT_CHANGE);
});
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () {

Loading…
Cancel
Save