1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +00:00

Vault timeout policy won't let you change timeout time if vault timeout action set. (#15520)

Angular `FormGroup` does not return disabled fields via `.value` property, need to use `getRawValue()` function instead.
This commit is contained in:
Maciej Zieniuk
2025-07-14 16:13:34 +02:00
committed by GitHub
parent ec7a2613cc
commit cfd1a99dac
2 changed files with 93 additions and 1 deletions

View File

@@ -449,7 +449,7 @@ export class SettingsComponent implements OnInit, OnDestroy {
await this.vaultTimeoutSettingsService.setVaultTimeoutOptions(
activeAccount.id,
newValue,
this.form.value.vaultTimeoutAction,
this.form.getRawValue().vaultTimeoutAction,
);
}