Skip to content

Errors out at typing some free text in the area and clicking on cancel #34

Description

@shashank-bs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions