PDA

View Full Version : Spinner keyboard input can't be disabled, and doesn't take effect



snuckleton
8 Oct 2011, 6:25 AM
This is on an iPad.
The spinner code:


var spinnerControlCount = new Ext.form.Spinner({
minValue: 0,
maxValue: 100,
width: 170,
incrementValue: 1,
defaultValue: 3,
cycle: true,
disableInput: false
});

When disableInput is false, the keyboard pops up as expected and you can enter a new value. However, my Ext.util.TaskRunner task (a clock) does NOT see the typed in value when doing:


spinnerControlCount.value

But pressing the + and - does cause the new spinner value to increment/decrement, and is readable by my clock task.

I get the identical behavior when disableInput is set to true. I shouldn't see the keyboard pop up.

Any suggestions? Thanks