@ -16,7 +16,12 @@
</td>
<td *matFooterCellDef class="px-2" mat-footer-cell>
<mat-form-field appearance="outline" class="py-1 without-hint">
<input formControlName="date" matInput [matDatepicker]="date" />
<input
formControlName="date"
matInput
[matDatepicker]="date"
[max]="maxDate"
/>
<mat-datepicker-toggle matSuffix [for]="date">
<ion-icon
class="text-muted"
@ -83,6 +83,7 @@ export class GfAccountBalancesComponent implements OnChanges, OnInit {
public dataSource = new MatTableDataSource<
AccountBalancesResponse['balances'][0]
>();
public maxDate = new Date();
private dateAdapter = inject<DateAdapter<Date, string>>(DateAdapter);
private notificationService = inject(NotificationService);