disable autocomplete for form elements
This commit is contained in:
parent
5531d90a57
commit
4d2a05c8e4
@ -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