1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

[PM-26182] - [Defect] [Browser] Safari - Autofill on page load default setting is missing yes or no (#16605)

* handle parenthesis translation

* add whitespace around placeholder with parentheses

* fix test

* fix label

* fix spec
This commit is contained in:
Jordan Aasen
2025-11-04 10:59:00 -08:00
committed by GitHub
parent 92118e525d
commit d364dfdda0
5 changed files with 20 additions and 7 deletions

View File

@@ -218,7 +218,10 @@ export class AutofillOptionsComponent implements OnInit {
return;
}
this.autofillOptions[0].label = this.i18nService.t("defaultLabel", defaultOption.label);
this.autofillOptions[0].label = this.i18nService.t(
"defaultLabelWithValue",
defaultOption.label,
);
// Trigger change detection to update the label in the template
this.autofillOptions = [...this.autofillOptions];
});