format number fields

This commit is contained in:
yuri
2015-07-03 11:02:04 +03:00
parent 61d428a4a5
commit 5da3df3cd2
+6
View File
@@ -36,6 +36,12 @@ Espo.define('Views.Fields.Int', 'Views.Fields.Base', function (Dep) {
setup: function () {
Dep.prototype.setup.call(this);
this.defineMaxLength();
this.on('change', function () {
if (this.isRendered()) {
this.reRender();
}
}, this);
},
data: function () {