View Full Version : Combobox with trigger field functionality

6 Apr 2010, 5:29 AM

I searched the API documentation and the forum, but unfortunately I did not find any answer to my question...
I'm looking for a combo-box form-object, which behaves like a trigger field. I.e., the form should have the appearance of a combo-box, but the search should not start automatically when typing in a minimum number of characters, instead, there should be a trigger button on one side of the "entry-text-field" which allows to trigger/start the search. It would be really great if somebody would have a code example or an idea this could work!
Thanks a lot for your help and support! Kind regards

6 Apr 2010, 5:44 AM
Use a normal ComboBox and configure it with:

initQuery: Ext.emptyFn

6 Apr 2010, 6:15 AM
Thanks a lot for the quick answer, exactly what I was looking for!