With that many selections, it bloats your code on the front end. I would try to hook up an autoselection with the combobox. I did something similar for a zipcode selection box. Instead of listing out 45K zip codes in the united states, you let the user pare down the selection themselves.
{
xtype: 'combobox',
id: 'zipCodeComboId',
label: 'select zip code',
queryMode: 'remote',
displayField: 'zipCode',
valueField: 'zipCode',
value: '000',
height:50,
forceSelection: true,
typeAhead: false,
minChars: 3,
store: {
type: 'zipCodes'
}
}
and your store could look something like:
Ext.define('yourapp.store.ZipCodes', {
extend: 'Ext.data.Store',
alias: 'store.zipCodes',
model: 'yourapp.model.ZipCodes',
storeId: 'zipCodesStoreId',
autoLoad: false,
idProperty: 'zipCode',
fields: [
'zipCode', 'city', 'state', 'updatedDt'
],
proxy: {
type: 'ajax',
url: '/searchYourZipCodes',
reader: {
type: 'json',
rootProperty: 'values'
}
},
});