Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uparia-label warning with ng-switch #8237
Closed
Comments
|
That seems to be a problem, with the DOM modification. Since the switch elements are appended dynamically to the DOM, and we're not updating our label text. I guess, using an Observer would be overkill. |
|
Edge case - will not fix for ngMaterial v1.x. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Demo:
http://codepen.io/calebegg/pen/bpmGqQ?editors=1010
This code triggers a warning about aria-label being missing on the button, even though the button is guaranteed to have text content, since there's an ng-switch-default.