We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7468588 commit 1b44bc3Copy full SHA for 1b44bc3
src/material-experimental/mdc-slide-toggle/slide-toggle.html
@@ -13,7 +13,7 @@
13
[attr.aria-label]="ariaLabel"
14
[attr.aria-labelledby]="_getAriaLabelledBy()"
15
[attr.aria-describedby]="ariaDescribedby"
16
- [attr.aria-required]="required"
+ [attr.aria-required]="required || null"
17
(click)="_handleClick($event)"
18
#switch>
19
<div class="mdc-switch__track"></div>
0 commit comments