PDA

View Full Version : prevent combobox from selecting element on hitting the tab button



carstep
23 Sep 2010, 7:33 AM
Hi there,

I have a customized search button from the forum search example (http://dev.sencha.com/deploy/dev/examples/form/forum-search.html) and realized that by default the combobox will select an element from the list ( if it is filled ) when I hit tab to get to the next input field. How can I prevent to behave the combobox like this? Other solution I can imagine of is that the data loading event happens only when I hit enter on the field.

The side effect of this is that the selected element will be taken for the input elements text which is not desirable.

thx
r. Sandor