1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

[PM-9190] Browser Refresh - Autofill section fixes (#10488)

* [PM-10751] Add count to website URI label

* [PM-10752] Hide autofill on page load field when the setting is disabled

* [PM-10790] Fix bottom margin
This commit is contained in:
Shane Melton
2024-08-13 08:58:16 -07:00
committed by GitHub
parent 471dd3bd7b
commit 7ad42ae18b
7 changed files with 53 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
(remove)="removeUri(i)"
[canRemove]="uriControls.length > 1"
[defaultMatchDetection]="defaultMatchDetection$ | async"
[index]="i"
></vault-autofill-uri-option>
</ng-container>
@@ -20,7 +21,7 @@
type="button"
bitLink
linkType="primary"
class="tw-mb-6"
[class.tw-mb-6]="autofillOnPageLoadEnabled$ | async"
(click)="addUri({ uri: null, matchDetection: null }, true)"
*ngIf="autofillOptionsForm.enabled"
>
@@ -28,7 +29,7 @@
{{ "addWebsite" | i18n }}
</button>
<bit-form-field>
<bit-form-field *ngIf="autofillOnPageLoadEnabled$ | async" disableMargin>
<bit-label>{{ "autoFillOnPageLoad" | i18n }}</bit-label>
<bit-select formControlName="autofillOnPageLoad" [items]="autofillOptions"></bit-select>
</bit-form-field>