The component Ext.form.field.ComboBox configured with queryMode "remote" and forceSelection true automatically clears its input field after searching the store.
{
xtype: 'combobox',
fieldLabel: 'State',
forceSelection: true,
queryMode: 'remote',
displayField: 'name',
valueField: 'id',
typeAhead: true,
minChars: 0,
store: {
model: 'ComboTest.State',
pageSize: 100,
proxy: {
type: 'ajax',
url: 'states.js',
reader: {
type: 'json',
}
}
},
allowBlank: false
}
You can try this fiddle: https://fiddle.sencha.com/#fiddle/uaq
Insert, for example, "w", the combobox selects "Washington", then go on inserting "y" (for example you want "Wyoming"), at this point everything gets cleared.
Am I doing something wrong or is it a bug?