Domyślnie wybrany materiał kątowy przycisku opcji
[checked]="data.value ==='false'"
BoomSlang Frikkie
[checked]="data.value ==='false'"
this.selectedDate='';
[ngModel]="selectedDate"
[ngClass]="selectedDate === item.proposedDateStartString ? 'selected-schedule-radio' : ''"
<mat-radio-group [ngModel]="selectedDate">
<mat-card style="cursor: pointer;" [ngClass]="selectedIndex === i ? 'selected-schedule-card' : ''" *ngFor="let item of schedules;let i = index;" fxLayoutAlign="start center" style="cursor: pointer;margin-bottom: 20px;">
<mat-radio-button color="accent" [ngClass]="selectedDate === item.proposedDateStartString ? 'selected-schedule-radio' : ''" >
<mat-icon class="date-icon" style="margin-top:3px;margin-left:10px;">today</mat-icon> {{item.proposedDateStartString}}
</mat-radio-button>
</mat-card>
</mat-radio-group>