I want to include a standard drop-down select box in a form but I can't seem to get the right combination of parameters.
So far I've tried all three of:
readonly: true
allowBlank: false
typeahead: false
but it's still letting me type, and even before I type, the pulldown has only the one item matching exactly the current value.
Can anyone help me figure this out? Combo is really powerful but I just want the simplest thing right now ;)
Thanks!
typeAhead (http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox&member=typeAhead)with a capital A. Also the configuration option which lets you determine whether or not you can type in the Combo or not is editable (http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox&member=editable).
Set this to false and I think you will get the results you want.
Bizarre. Now it's not editable, and it lets me selection from the dropdowns, but after I've selected a choice the dropdown only ever shows one item. In other words, it looks like it might be filtering the dropdown box even though I don't have an editable combo.
Any ideas?
Here's my definition. Nothing out of the ordinary??
{
name: 'Sort',
xtype: 'combo',
fieldLabel: 'Show in order',
editable: false,
store: store,
displayField:'order',
valueField: 'id',
mode: 'local',
emptyText:'Sorting order...'
}
Answer is
triggerAction: 'all'
Shouldn't this be the default on a non-editable combo? Otherwise it makes dropdown useless :)
Thanks,I totally missed "editable"! (and my typeAhead typO)
[Solved] Form Submit => Update Tree
Specify separate TreeNode expand/collapse images
|