mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
* [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
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<bit-section [formGroup]="autofillOptionsForm">
|
|
<bit-section-header>
|
|
<h2 bitTypography="h5">
|
|
{{ "autofillOptions" | i18n }}
|
|
</h2>
|
|
</bit-section-header>
|
|
|
|
<bit-card>
|
|
<ng-container formArrayName="uris">
|
|
<vault-autofill-uri-option
|
|
*ngFor="let uri of uriControls; let i = index"
|
|
[formControlName]="i"
|
|
(remove)="removeUri(i)"
|
|
[canRemove]="uriControls.length > 1"
|
|
[defaultMatchDetection]="defaultMatchDetection$ | async"
|
|
[index]="i"
|
|
></vault-autofill-uri-option>
|
|
</ng-container>
|
|
|
|
<button
|
|
type="button"
|
|
bitLink
|
|
linkType="primary"
|
|
[class.tw-mb-6]="autofillOnPageLoadEnabled$ | async"
|
|
(click)="addUri({ uri: null, matchDetection: null }, true)"
|
|
*ngIf="autofillOptionsForm.enabled"
|
|
>
|
|
<i class="bwi bwi-plus tw-font-bold" aria-hidden="true"></i>
|
|
{{ "addWebsite" | i18n }}
|
|
</button>
|
|
|
|
<bit-form-field *ngIf="autofillOnPageLoadEnabled$ | async" disableMargin>
|
|
<bit-label>{{ "autoFillOnPageLoad" | i18n }}</bit-label>
|
|
<bit-select formControlName="autofillOnPageLoad" [items]="autofillOptions"></bit-select>
|
|
</bit-form-field>
|
|
</bit-card>
|
|
</bit-section>
|