mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-21 21:11:35 +01:00
turn off autocomplete for browser search input (#12679)
This commit is contained in:
parent
c69278e761
commit
05d373d070
@ -1,4 +1,5 @@
|
||||
<bit-search
|
||||
autocomplete="off"
|
||||
[placeholder]="'search' | i18n"
|
||||
[(ngModel)]="searchText"
|
||||
(ngModelChange)="onSearchTextChanged()"
|
||||
|
@ -18,5 +18,6 @@
|
||||
(ngModelChange)="onChange($event)"
|
||||
(blur)="onTouch()"
|
||||
[disabled]="disabled"
|
||||
[attr.autocomplete]="autocomplete"
|
||||
/>
|
||||
</div>
|
||||
|
@ -46,6 +46,7 @@ export class SearchComponent implements ControlValueAccessor, FocusableElement {
|
||||
|
||||
@Input() disabled: boolean;
|
||||
@Input() placeholder: string;
|
||||
@Input() autocomplete: string;
|
||||
|
||||
getFocusTarget() {
|
||||
return this.input.nativeElement;
|
||||
|
Loading…
Reference in New Issue
Block a user