File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11.example-radio-group {
2- display : inline- flex;
2+ display : flex;
33 flex-direction : column;
4+ margin : 15px 0 ;
45}
56
67.example-radio-button {
78 margin : 5px ;
89}
9-
10- .example-selected-value {
11- margin : 15px 0 ;
12- }
Original file line number Diff line number Diff line change 1- < mat-radio-group class ="example-radio-group " [(ngModel)] ="favoriteSeason ">
1+ < label id ="example-radio-group-label "> Pick your favorite season</ label >
2+ < mat-radio-group
3+ aria-labelledby ="example-radio-group-label "
4+ class ="example-radio-group "
5+ [(ngModel)] ="favoriteSeason ">
26 < mat-radio-button class ="example-radio-button " *ngFor ="let season of seasons " [value] ="season ">
37 {{season}}
48 </ mat-radio-button >
59</ mat-radio-group >
6- < div class =" example-selected-value " > Your favorite season is: {{favoriteSeason}}</ div >
10+ < div > Your favorite season is: {{favoriteSeason}}</ div >
Original file line number Diff line number Diff line change 1- < mat-radio-group >
1+ < mat-radio-group aria-label =" Select an option " >
22 < mat-radio-button value ="1 "> Option 1</ mat-radio-button >
33 < mat-radio-button value ="2 "> Option 2</ mat-radio-button >
44</ mat-radio-group >
You can’t perform that action at this time.
0 commit comments