Thank you for reporting this bug. We will make it our priority to review this report.
[2.4.1] Ext.field.Spinner fires change event from constructor
[2.4.1] Ext.field.Spinner fires change event from constructor
Please look at this code from Ext.field.Spinner source:
Code:
constructor: function() {
var me = this;
me.callParent(arguments);
if (!me.getValue()) {
me.suspendEvents();
me.setValue(me.getDefaultValue());
me.resumeEvents();
}
},
Event is actually fired on me.resumeEvents();Accordingly to 2.4.1 documentation it seems should be me.resumeEvents(true);
[2.4.1] Ext.field.Spinner fires change event from constructor
Aucun commentaire:
Enregistrer un commentaire