1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

Add autofocus to search field on Send page (#11979)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith 2024-11-13 15:15:48 +01:00 committed by GitHub
parent 913f109ffa
commit e341a66a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<app-current-account></app-current-account> <app-current-account></app-current-account>
</ng-container> </ng-container>
</popup-header> </popup-header>
<div slot="above-scroll-area" class="tw-p-4"> <div slot="above-scroll-area" class="tw-p-4" *ngIf="!(sendsLoading$ | async)">
<bit-callout *ngIf="sendsDisabled" [title]="'sendDisabled' | i18n"> <bit-callout *ngIf="sendsDisabled" [title]="'sendDisabled' | i18n">
{{ "sendDisabledWarning" | i18n }} {{ "sendDisabledWarning" | i18n }}
</bit-callout> </bit-callout>

View File

@ -3,6 +3,7 @@
[placeholder]="'search' | i18n" [placeholder]="'search' | i18n"
[(ngModel)]="searchText" [(ngModel)]="searchText"
(ngModelChange)="onSearchTextChanged()" (ngModelChange)="onSearchTextChanged()"
appAutofocus
> >
</bit-search> </bit-search>
</div> </div>