BuckBazooka
17 Apr 2010, 1:32 AM
Hi,
I would like to do the following or something equivalent with the Designer.
{
xtype:'combo'
,fieldLabel: 'Contract Type*'
,store: ['FixedPrice', 'Mixed', 'PayAsYouGo'] /// <<------
,name:'contractType'
,typeAhead: true
,forceSelection: true
,triggerAction: 'all'
,emptyText:'Select a contract type...'
,selectOnFocus:true
,allowBlank:false
}
I think that is so useful that it would really be a shame to have to design a store and specify a URL to fetch from a server when this can all be done by a simple local store.
Could we not add a "localStore" setting when one can simply specify the list of items which goes in the combo?
I would like to do the following or something equivalent with the Designer.
{
xtype:'combo'
,fieldLabel: 'Contract Type*'
,store: ['FixedPrice', 'Mixed', 'PayAsYouGo'] /// <<------
,name:'contractType'
,typeAhead: true
,forceSelection: true
,triggerAction: 'all'
,emptyText:'Select a contract type...'
,selectOnFocus:true
,allowBlank:false
}
I think that is so useful that it would really be a shame to have to design a store and specify a URL to fetch from a server when this can all be done by a simple local store.
Could we not add a "localStore" setting when one can simply specify the list of items which goes in the combo?