diff --git a/CHANGELOG.md b/CHANGELOG.md index 2881c6ac9..d72c0bd84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Restricted the selection of the retirement date picker in the _FIRE_ calculator to a future date - Improved the support for mutual funds in the _Financial Modeling Prep_ service (get asset profiles) - Improved the language localization for German (`de`) - Upgraded `prisma` from version `6.16.1` to `6.16.3` diff --git a/libs/ui/src/lib/fire-calculator/fire-calculator.component.html b/libs/ui/src/lib/fire-calculator/fire-calculator.component.html index 60d5204e1..ef4722255 100644 --- a/libs/ui/src/lib/fire-calculator/fire-calculator.component.html +++ b/libs/ui/src/lib/fire-calculator/fire-calculator.component.html @@ -40,6 +40,7 @@ formControlName="retirementDate" matInput [matDatepicker]="datepicker" + [min]="minDate" /> ; public isLoading = true; + public minDate = addDays(new Date(), 1); public periodsToRetire = 0; private readonly CONTRIBUTION_PERIOD = 12;