mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #779 from keepassxreboot/fix/support_input_readonly
Ignore input fields with readOnly set
This commit is contained in:
commit
70de3bb7a6
1 changed files with 1 additions and 1 deletions
|
|
@ -653,7 +653,7 @@ kpxcObserverHelper.getInputs = function(target) {
|
||||||
// Filter out any input fields with type 'hidden' right away
|
// Filter out any input fields with type 'hidden' right away
|
||||||
const inputFields = [];
|
const inputFields = [];
|
||||||
Array.from(target.getElementsByTagName('input')).forEach((e) => {
|
Array.from(target.getElementsByTagName('input')).forEach((e) => {
|
||||||
if (e.type !== 'hidden') {
|
if (e.type !== 'hidden' && !e.readOnly) {
|
||||||
inputFields.push(e);
|
inputFields.push(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue