I have an editor grid and a combobox is one of its fields. The combobox uses a json store. Here is the combobox code:
var patternCmb = new Ext.form.ComboBox({ //combobox for workers
store: dsPatterns,
valueField: 'pid',
displayField: 'pname',
typeAhead:true,
lazyRender:true,
forceSelection:true,
minChars: 2,
valueNotFoundText:"not found",
editable: true,
triggerAction: 'all'
});
After typing the third character the FIRST (not correct) value of the store is selected. What can be the problem?
Try the following:
mode: 'local'
in your combobox.autoLoad: true
in your dsPatterns (store).If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With