mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Add support for textarea element with Custom Login Fields
This commit is contained in:
parent
0c30e118e3
commit
3da18601f8
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ kpxcDefine.diffY = 0;
|
|||
kpxcDefine.eventFieldClick = null;
|
||||
kpxcDefine.inputQueryPattern = 'input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=username], input:not([type])';
|
||||
kpxcDefine.keyboardSelectorPattern = 'div.kpxcDefine-fixed-field:not(.kpxcDefine-fixed-username-field):not(.kpxcDefine-fixed-password-field):not(.kpxcDefine-fixed-totp-field)';
|
||||
kpxcDefine.moreInputQueryPattern = 'input:not([type=button]):not([type=checkbox]):not([type=color]):not([type=date]):not([type=datetime-local]):not([type=file]):not([type=hidden]):not([type=image]):not([type=month]):not([type=range]):not([type=reset]):not([type=submit]):not([type=time]):not([type=week]), select';
|
||||
kpxcDefine.moreInputQueryPattern = 'input:not([type=button]):not([type=checkbox]):not([type=color]):not([type=date]):not([type=datetime-local]):not([type=file]):not([type=hidden]):not([type=image]):not([type=month]):not([type=range]):not([type=reset]):not([type=submit]):not([type=time]):not([type=week]), select, textarea';
|
||||
kpxcDefine.markedFields = [];
|
||||
kpxcDefine.keyDown = null;
|
||||
kpxcDefine.startPosX = 0;
|
||||
|
|
|
|||
|
|
@ -555,7 +555,7 @@ kpxcFields.useCustomLoginFields = async function() {
|
|||
|
||||
// Get all input fields from the page without any extra filters
|
||||
const inputFields = [];
|
||||
document.body.querySelectorAll('input, select').forEach(e => {
|
||||
document.body.querySelectorAll('input, select, textarea').forEach(e => {
|
||||
if (e.type !== 'hidden' && !e.disabled) {
|
||||
inputFields.push(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue