mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix using tab with autocomplete
This commit is contained in:
parent
d7a49c675e
commit
d19bdc0810
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ kpxcAutocomplete.keyPress = function(e) {
|
|||
}
|
||||
} else if (e.key === 'Tab') {
|
||||
// Return if value is not in the list
|
||||
if (kpxcAutocomplete.input.value !== '' && kpxcAutocomplete.elements.some(c => c.value !== kpxcAutocomplete.input.value)) {
|
||||
if (kpxcAutocomplete.input.value !== '' && !kpxcAutocomplete.elements.some(c => c.value === kpxcAutocomplete.input.value)) {
|
||||
kpxcAutocomplete.closeList();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue