View Full Version : How to disable Combo textfield, and bind the selection list expand to textfield

27 Mar 2012, 9:59 AM
Sorry, may be 2 things separated, but there's maybe already a config for doing that,

Actually I need a pure Select field, but there are no such component in ExtJs, anyway the combobox with such features will do exactly what I want

thanks for the help

27 Mar 2012, 12:14 PM
You can add a keydown listener:

listeners : {
inputEl : {
keydown : function(e) {

You can allow certain keys with an if statement.

27 Mar 2012, 7:45 PM
I'm not really clear what you're asking for but I suspect you may want editable: false.

You might find this article useful, it covers some of the basic config options: