As Mitch points out in his comment, you can use Ext.form.Combobox, properly configured, for this. You do not need to bind anything to the keyup event, as Combobox will handle this for you.
This is where the configuration starts that should work. You need to provide the appropriate Ext.data.Store file (or its subclass), as well as several other configuration values (displayField, valueField, queryParam, etc.). All necessary materials are well documented in API documents)
MyTypeahead = new Ext.form.ComboBox({ triggerAction:'all', typeAhead:true, mode:'remote', minChars:2, forceSelection:true, hideTrigger:true });
source share