prevent firefox from autocompleting the current password in the form/fields for changing password

This commit is contained in:
Mechiel Lukkien
2024-01-05 12:15:55 +01:00
parent 9796c4539d
commit c348834ce9
8 changed files with 12 additions and 6 deletions

1
lib.ts
View File

@ -213,6 +213,7 @@ const attr = {
max: (s: string) => _attr('max', s),
action: (s: string) => _attr('action', s),
method: (s: string) => _attr('method', s),
autocomplete: (s: string) => _attr('autocomplete', s),
}
const style = (x: {[k: string]: string | number}) => { return {_styles: x}}
const prop = (x: {[k: string]: any}) => { return {_props: x}}