change the spinner strategy so it's an integer
This commit is contained in:
parent
68b4af839f
commit
9bdcb04cb3
|
@ -87,7 +87,12 @@ Copyright:
|
||||||
xtype: 'uxspinner',
|
xtype: 'uxspinner',
|
||||||
ctCls: 'x-form-uxspinner',
|
ctCls: 'x-form-uxspinner',
|
||||||
name: 'port',
|
name: 'port',
|
||||||
strategy: Ext.ux.form.Spinner.NumberStrategy(),
|
strategy: {
|
||||||
|
xtype: 'number',
|
||||||
|
decimalPrecision: 0,
|
||||||
|
minValue: -1,
|
||||||
|
maxValue: 99999
|
||||||
|
},
|
||||||
value: '58846',
|
value: '58846',
|
||||||
anchor: '50%'
|
anchor: '50%'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue