extend: 'Ext.form.FieldContainer',
alias: 'widget.pveBandwidthField',
- mixins: ['Proxmox.Mixin.CBind' ],
+ mixins: ['Proxmox.Mixin.CBind'],
viewModel: {
data: {
},
getSubmitValue: function() {
let v = this.processRawValue(this.getRawValue());
- v = v.replace(this.decimalSeparator, '.')
+ v = v.replace(this.decimalSeparator, '.');
if (v === undefined) return null;
// FIXME: make it configurable, as this only works if 0 === default
listeners: {
// our setValue gets only called if we have a value, avoid
// transformation of the first user-entered value
- keydown: function () { this._transformed = true; },
+ keydown: function() { this._transformed = true; },
},
},
{