1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

turn off autocomplete for browser search input (#12679)

This commit is contained in:
Kyle Spearrin
2025-01-03 14:51:54 -05:00
committed by GitHub
parent c69278e761
commit 05d373d070
3 changed files with 3 additions and 0 deletions

View File

@@ -18,5 +18,6 @@
(ngModelChange)="onChange($event)"
(blur)="onTouch()"
[disabled]="disabled"
[attr.autocomplete]="autocomplete"
/>
</div>

View File

@@ -46,6 +46,7 @@ export class SearchComponent implements ControlValueAccessor, FocusableElement {
@Input() disabled: boolean;
@Input() placeholder: string;
@Input() autocomplete: string;
getFocusTarget() {
return this.input.nativeElement;