Merge pull request #2690 from brkcvn/master
Autocomplete disabled for form elements
This commit is contained in:
commit
34383d60e7
6
public/akaunting-js/generalAction.js
vendored
6
public/akaunting-js/generalAction.js
vendored
@ -438,3 +438,9 @@ document.querySelectorAll('[data-index-icon]').forEach((defaultText) => {
|
||||
//disable/enable icons ejected from data-truncate-marquee
|
||||
|
||||
//margue animation for truncated text
|
||||
|
||||
//disable autocomplete for all form elements
|
||||
document.querySelectorAll('input, textarea, select, textarea').forEach((element) => {
|
||||
element.setAttribute('autocomplete', 'off');
|
||||
});
|
||||
//disable autocomplete for all form elements
|
||||
|
Loading…
x
Reference in New Issue
Block a user