mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
autocomplete off
This commit is contained in:
@@ -19,7 +19,7 @@ export class InputVerbatimDirective {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
if (this.disableComplete && !this.el.nativeElement.hasAttribute('autocomplete')) {
|
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')) {
|
if (!this.el.nativeElement.hasAttribute('autocapitalize')) {
|
||||||
this.renderer.setAttribute(this.el.nativeElement, 'autocapitalize', 'none');
|
this.renderer.setAttribute(this.el.nativeElement, 'autocapitalize', 'none');
|
||||||
|
|||||||
Reference in New Issue
Block a user