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

After selecting items from dropdown list TAB key removes last selected item #21

Open
armandoxxx opened this issue Oct 15, 2012 · 1 comment

Comments

@armandoxxx
Copy link

Hello

One thing I noticed:

After selecting multiple items from dropdown list with ENTER key and then pressing TAB key (while dropdown is still open) will remove last selected item from the field and jump to next form field.
Last selected item should not be removed.

possible fix in line 611 - 613:

valueStore.each(function(rec) {
                //if (Ext.Array.contains(selectedRecords, rec) || me.isFilteredRecord(rec)) {
                    mergedRecords.push(rec);
                //}
            });
@sagivf
Copy link

sagivf commented Dec 3, 2012

This works but disables the option to dselect items directly from the combobox,
Another possible solution is to add "selectOnTab: false" to the combobox's properties,
you should use this option if you are satisfied with selection on enter.

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

2 participants