change the spinner strategy so it's an integer

This commit is contained in:
Damien Churchill 2009-09-24 08:08:43 +00:00
parent 68b4af839f
commit 9bdcb04cb3
1 changed files with 6 additions and 1 deletions

View File

@ -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%'
}); });