View Full Version : combobox filter

30 Oct 2015, 1:35 AM
filter is not working when typing in the combobox with keyboard for first time:((
I have defined a filter for a combobox . It is working fine when I am selecting from drop down list but not working when typing text in the combobox field .
when I am typing text in the combobox field , my filter is not working properly. it allows all the values avialable in the datastore and not filtering for values which I am passing the values in the filter method.
Help me
code is :
{xtype: 'combo' ,fieldLabel: xgen.lang.get('lblOwnershipCategoryCode'), afterLabelTextTpl: this._required,typeAhead: true,name: 'OwnershipCategoryCode1', itemId: 'OwnershipCategoryCode1',matchFieldWidth : false,
forceSelection: true,allowBlank: false,store: { fields: ['key', 'name'] }, queryMode: 'local', displayField: 'name', valueField: 'key',lastQuery: ''

30 Oct 2015, 4:29 AM

Please share a test case that demonstrates your issue (https://fiddle.sencha.com), and I'll be happy to test this along with you.