Thank you for reporting this bug. We will make it our priority to review this report.
Combo with emptyText breaks during selection
Combo with emptyText breaks during selection
Ext version tested:
- Ext ext-5.0.3-20140925 nightly build
Browser versions tested against: DOCTYPE tested against: Description:- When I try to select a value from combobox I get the error "value is not defined" but only if I set some value inside the "emptyText" param. Without emptyText it works!
Steps to reproduce the problem:- Run this code with 28th sept. nightly build 5.x version and select some option from select.
Removing the emptyText param it will work
NB: this code works with 5.0.1 versionCode:
Ext.application({
name : 'Fiddle',
launch : function() {
Ext.create('Ext.form.Panel', {
layout: {
type: 'vbox',
align: 'stretch'
},
defaults: {
xtype: 'fieldset',
defaults: {
labelSeparator: '',
labelAlign: 'top'
}
},
items: [
{
title: 'test fieldset',
layout: {
type: 'vbox',
align: 'stretch'
},
items:[
{
xtype: 'combobox',
name: 'myTest',
store: [[0,1], [2,2]],
emptyText: 'my test'
}
]
}
],
renderTo: Ext.getBody()
});
}
});
You should get this error
Uncaught ReferenceError: value is not defined ext-all-debug.js:142211
Ext.define.updateValue ext-all-debug.js:142211
Ext.define.onValueCollectionEndUpdate ext-all-debug.js:142001
Ext.define.doFire ext-all-debug.js:13247
Ext.define.fire ext-all-debug.js:13108
Ext.define.doDispatchEvent ext-all-debug.js:13815
Ext.define.dispatchEvent ext-all-debug.js:13795
Ext.define.doFireEvent ext-all-debug.js:14375
Ext.define.fireEventArgs ext-all-debug.js:14338
Ext.define.notify ext-all-debug.js:51024
Ext.define.endUpdate ext-all-debug.js:49791
Ext.define.splice ext-all-debug.js:50506
Ext.define.remove ext-all-debug.js:50134
commit ext-all-debug.js:110863
Ext.define.onSelectChange ext-all-debug.js:111368
Ext.define.doDeselect ext-all-debug.js:110876
commit ext-all-debug.js:110907
Ext.define.onSelectChange ext-all-debug.js:111368
Ext.define.doSingleSelect ext-all-debug.js:110919
Ext.define.doSelect ext-all-debug.js:110754
Ext.define.onNavigate ext-all-debug.js:110610
fire ext-all-debug.js:23159
doFireEvent ext-all-debug.js:23652
fireEventArgs ext-all-debug.js:23630
fireEvent ext-all-debug.js:23600
Ext.define.fireNavigateEvent ext-all-debug.js:111727
Ext.define.onItemClick ext-all-debug.js:111523
fire ext-all-debug.js:23159
doFireEvent ext-all-debug.js:23652
prototype.doFireEvent ext-all-debug.js:90508
fireEventArgs ext-all-debug.js:23630
fireEvent ext-all-debug.js:23600
Ext.define.processUIEvent ext-all-debug.js:113540
Ext.define.handleEvent ext-all-debug.js:113477
Ext.define.doFire ext-all-debug.js:13247
Ext.define.fire ext-all-debug.js:13108
Ext.define.doDispatchEvent ext-all-debug.js:13815
Ext.define.dispatch ext-all-debug.js:45020
Ext.Base.Base.addMembers.callParent ext-all-debug.js:8166
Ext.define.dispatch ext-all-debug.js:46517
Ext.define.doPublish ext-all-debug.js:46607
Ext.define.publish ext-all-debug.js:46555
Ext.define.doDelegatedEvent ext-all-debug.js:46749
Ext.define.onDelegatedEvent ext-all-debug.js:46726
(anonymous function)
Combo with emptyText breaks during selection
Aucun commentaire:
Enregistrer un commentaire