diff --git a/keepassxc-browser/content/autocomplete.js b/keepassxc-browser/content/autocomplete.js index 6152315..b120520 100644 --- a/keepassxc-browser/content/autocomplete.js +++ b/keepassxc-browser/content/autocomplete.js @@ -203,7 +203,7 @@ class Autocomplete { return; } - this.index = this.elements.findIndex(c => c.value === input.value); + this.index = this.elements.findIndex(c => c.value === inputField.value); if (this.index >= 0) { this.fillPassword(inputField.value, this.index, this.elements[this.index].uuid); }