PDA

View Full Version : [OPEN]Combobox no selection problem



baest
8 Mar 2011, 6:03 AM
If no first a value is selected and then removed the old value is still preserved (.getValue returns the previous value).

How to reproduce:
In the combobox example (examples/form/combos.html), select a state. Then mark all text in the combobox and delete the text. Then unfocus the combobox and run the javascript: Ext.getCmp('combobox-1020').getValue() (for the top combobox). It will return the previous selected value...

Also calling .reset() on the combobox doesn't clear the value (the same for .setValue('')). .setValue('avaluenotinstore') clears the value selected.