PDA

View Full Version : prevent combobox from deleting the value



Bogdan0x400
19 May 2011, 5:30 AM
The combobox has some items defined. So when I try to type in the combobox my custom value that is not present in the items list, the combobox text gets reset to the previously selected value. How can I prevent this? I want to be able to specify anything in the combobox even if it doesn't match existing items.

promitt
19 May 2011, 5:40 AM
I think you've got this problem: http://stackoverflow.com/questions/4689339/clearing-extjs-combobox-input-field

Bogdan0x400
19 May 2011, 5:53 AM
The solution: set ForceSelection to false.