My ExtJS custom "treecombo" works perfectly in Firefox and Chrome, but encounters issues in Internet Explorer. Specifically, I am facing problems with IE8 when trying to run the following code:
Ext.define('MyApp.plugins.TreeCombo',
{
extend: 'Ext.form.field.Picker',
alias: 'widget.treecombo',
tree: false,
constructor: function(config)
{
// Code for constructor function
},
// More properties and methods...
});
// The issue arises on line 116:
var index = values.indexOf('' + id);
I keep receiving an error stating "Object doesn't support this property or method" at that particular line. Does anyone have any insights into how to resolve this problem?