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:
@@ -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];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user