File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 44
44
(#14385). Putting a click handler on the <label/> caused this bug because the browser produced
45
45
an unnecessary accessibility tree node.
46
46
-->
47
- < label #label
47
+ < label class ="mdc-label "
48
+ #label
48
49
[for] ="inputId ">
49
50
< ng-content > </ ng-content >
50
51
</ label >
Original file line number Diff line number Diff line change 25
25
< div class ="mat-ripple-element mat-radio-persistent-ripple "> </ div >
26
26
</ div >
27
27
</ div >
28
- < label [for] ="inputId ">
28
+ < label class =" mdc-label " [for] ="inputId ">
29
29
< ng-content > </ ng-content >
30
30
</ label >
31
31
</ div >
Original file line number Diff line number Diff line change 47
47
Clicking on the label will trigger another click event from the button.
48
48
Stop propagation here so other listeners further up in the DOM don't execute twice.
49
49
-->
50
- < label [for] ="buttonId " [attr.id] ="_labelId " (click) ="$event.stopPropagation() ">
50
+ < label class =" mdc-label " [for] ="buttonId " [attr.id] ="_labelId " (click) ="$event.stopPropagation() ">
51
51
< ng-content > </ ng-content >
52
52
</ label >
53
53
</ div >
You can’t perform that action at this time.
0 commit comments