Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shashank-bs opened this issue Jun 18, 2013 · 0 comments

Comments

@shashank-bs
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant