-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of multiple switch elements gives duplicate id warning in console #438
Comments
does |
@ravtoleakshay Any update? Will close otherwise |
@cmckni3 Facing same issue. this issue causes WCAG errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<ui-switch [id]="module.id" [name]="module.id" [ngModel]="module.is_selected"> </ui-switch>
I am using above element in a loop, I am getting warning in console regarding duplicate id.
As by default ui-switch element adds id with value 'enabled' and its static we cannot bind it.
I want a way to bind id attribute using [id]="module.id"
Thanks in advance !
The text was updated successfully, but these errors were encountered: