View Full Version : ComboBox doTypeAhead backspace

30 Jun 2014, 1:53 AM
Why does the core check for the backspace key in doTypeAhead? I do not want this in most situations.

doTypeAhead: function () {
if (!this.typeAheadTask) {
this.typeAheadTask = Ext.create('Ext.util.DelayedTask', this.onTypeAhead, this);
if (this.lastKey != Ext.EventObject.BACKSPACE && this.lastKey != Ext.EventObject.DELETE) {

30 Jun 2014, 11:25 PM
I find this feature rather useful...

You are welcome to create either an extension for a custom component or if you really want it to affect all instants of comboBox, you can create an override.

# The backspace check enables the user to delete the auto-completed text provided by onTypeAhead() method.