Hi,
on my combo on left panel on my project, after selected a priority, and click another place on my panel, I have this error:
Code:
s is null
onFirstFocus()()ext-all-debug.js (ligne 30845)
updateToolbar()()ext-all-debug.js (ligne 30900)
onEditorEvent()(Object browserEvent=Event mousedown button=0)ext-all-debug.js (ligne 30892)
h()()ext-all-debug.js (ligne 1723)
call()()ext-all-debug.js (ligne 6592)
[IMG]chrome://firebug/content/blank.gif[/IMG] if(!s.focusNode || s.focusNode.nodeType != 3){
why?
My code of store is:
Code:
var priorityStore = new Ext.data.SimpleStore({
fields: [
'id',
'priority'
],
data: [
['1','1'],
['2','2'],
['3','3'],
['4','4'],
['5','5']
],
autoLoad: true,
});
code of combo (is into a items[]):
Code:
...
{
xtype: 'combo',
store: priorityStore,
displayField:'priority',
fieldLabel: 'Priorité',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'Sélectionner une priorité',
selectOnFocus:true,
allowBlank: false
}
...
thanks again