Error from the following code
Ext.create('Ext.ux.form.field.BoxSelect', {
fieldLabel: '******_',
name: '_',
displayField: 'UserName',
emptyText: 'Add Invitees Here...',
valueField: 'ID',
queryMode: 'local',
value: me.data.InviteeList,
width: '100%',
labelWidth: 150,
store: this.newStore,
height: 70,
createNewOnEnter: true,
forceSelection: true,
style: {
marginLeft: '5px'
}
});
I have used the plugin in the above mentioned code.and the scenario is like this
I will select some users from the dropdown and then next to that i will type some free text for ex:I have selected two users, and next to two users i will type some nonsense text and click cancel, an error pops up as "me.inputElCt" is null or undefined. this error occurs in IE 8 and IE 7.this is not reproducible in chrome and IE9. the line number it errors out is 1094 and the code where it errors out is
Ext.Function.defer(function() {
if (me.picker && me.isExpanded) {
me.alignPicker();
}
if (me.hasFocus) {
me.inputElCt.scrollIntoView(me.listWrapper);
}
}, 15);
Currently I am using version 2.0.3 of the plugin.Please let me know if you need more information regarding this.
Error from the following code
Ext.create('Ext.ux.form.field.BoxSelect', {
fieldLabel: '******_',
name: '_',
displayField: 'UserName',
emptyText: 'Add Invitees Here...',
valueField: 'ID',
queryMode: 'local',
value: me.data.InviteeList,
width: '100%',
labelWidth: 150,
store: this.newStore,
height: 70,
createNewOnEnter: true,
forceSelection: true,
style: {
marginLeft: '5px'
}
});
I have used the plugin in the above mentioned code.and the scenario is like this
Ext.Function.defer(function() {
if (me.picker && me.isExpanded) {
me.alignPicker();
}
if (me.hasFocus) {
me.inputElCt.scrollIntoView(me.listWrapper);
}
}, 15);
Currently I am using version 2.0.3 of the plugin.Please let me know if you need more information regarding this.