Refactor form controls to form getter (#3325)

This commit is contained in:
Thomas Kaul
2024-04-24 20:20:56 +02:00
committed by GitHub
parent 37871fbabc
commit 990028316e
13 changed files with 224 additions and 249 deletions

View File

@@ -31,10 +31,7 @@
<mat-form-field appearance="outline" class="w-100">
<mat-label i18n>Retirement Date</mat-label>
<div>
{{
calculatorForm.controls['retirementDate'].value
| date: 'MMMM YYYY'
}}
{{ calculatorForm.get('retirementDate').value | date: 'MMMM YYYY' }}
</div>
<input
class="d-none"