twasink
17 Oct 2019, 5:23 PM
Running the Upgrade advisor over a small part of my codebase, I got this warning:
Usage of private config 'displayField' found for 'Ext.form.field.ComboBox'
This is for advising going from 6.5.2 to 7.0.0 (the Classic framework)
The relevant code looks a bit like:
{ xtype: 'combobox',
fieldLabel: 'Type',
store: Ext.create('Ext.data.Store', {
fields: ['name'],
data : [ /*...*/ ]
}),
queryMode: 'local',
displayField: 'name',
valueField: 'name'
}
The problem is that `displayField` is not private in either 6.5.2 (https://docs.sencha.com/extjs/6.5.2/classic/Ext.form.field.ComboBox.html#cfg-displayField) or 7.0.0 (https://docs.sencha.com/extjs/7.0.0/classic/Ext.form.field.ComboBox.html#cfg-displayField).
Usage of private config 'displayField' found for 'Ext.form.field.ComboBox'
This is for advising going from 6.5.2 to 7.0.0 (the Classic framework)
The relevant code looks a bit like:
{ xtype: 'combobox',
fieldLabel: 'Type',
store: Ext.create('Ext.data.Store', {
fields: ['name'],
data : [ /*...*/ ]
}),
queryMode: 'local',
displayField: 'name',
valueField: 'name'
}
The problem is that `displayField` is not private in either 6.5.2 (https://docs.sencha.com/extjs/6.5.2/classic/Ext.form.field.ComboBox.html#cfg-displayField) or 7.0.0 (https://docs.sencha.com/extjs/7.0.0/classic/Ext.form.field.ComboBox.html#cfg-displayField).