mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-12 19:50:46 +01:00
autocomplete off
This commit is contained in:
parent
df1649bac1
commit
7b5d3eb15c
@ -19,7 +19,7 @@ export class InputVerbatimDirective {
|
||||
|
||||
ngOnInit() {
|
||||
if (this.disableComplete && !this.el.nativeElement.hasAttribute('autocomplete')) {
|
||||
this.renderer.setAttribute(this.el.nativeElement, 'autocomplete', 'nope');
|
||||
this.renderer.setAttribute(this.el.nativeElement, 'autocomplete', 'off');
|
||||
}
|
||||
if (!this.el.nativeElement.hasAttribute('autocapitalize')) {
|
||||
this.renderer.setAttribute(this.el.nativeElement, 'autocapitalize', 'none');
|
||||
|
Loading…
Reference in New Issue
Block a user