mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #493 from keepassxreboot/autocomplete_fill_fix
Fix autocomplete password fill
This commit is contained in:
commit
d2b5d03743
1 changed files with 2 additions and 1 deletions
|
|
@ -169,7 +169,8 @@ kpxcAutocomplete.create = function(input, showListInstantly = false, autoSubmit
|
|||
function fillPassword(value, index) {
|
||||
const fieldId = input.getAttribute('data-kpxc-id');
|
||||
kpxcFields.prepareId(fieldId);
|
||||
const combination = kpxcFields.getCombination('username', fieldId);
|
||||
const givenType = input.type === 'password' ? 'password' : 'username';
|
||||
const combination = kpxcFields.getCombination(givenType, fieldId);
|
||||
combination.loginId = index;
|
||||
|
||||
kpxc.fillInCredentials(combination, false, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue