Thank you for reporting this bug. We will make it our priority to review this report.
Model 'id field leaks into subclasses
Model 'id field leaks into subclasses
In Ext 4 - this produces expected results. The 'bar' class has 1 and only one field. In Ext 5, it has 'id' too which was never added anywhere.
Code:
Ext.define('foo', {
extend : 'Ext.data.Model',
idProperty : null
})
Ext.define('bar', {
extend : 'foo',
idProperty : 'field1',
fields : ['field1']
})
Aucun commentaire:
Enregistrer un commentaire