-
Notifications
You must be signed in to change notification settings - Fork 4
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
Form template renders radio field inputs with same id #156
Comments
perhaps |
Is there a reason we are even setting id on these inputs? You should be able to target them in tests based on index position (since you control the data you know what index you want. In JS, it would be just as easy to target based on FWIW, I try to avoid using IDs for anything unless really needed due to the issue of accidental duplication. I don't like just using My preferences would be:
/cc @matthiaswh, @guruofgentoo, @bchopson to weigh in. |
I believe the id for inputs is so that a |
The default radio field renders with multiple inputs with same id.
keg-elements/keg_elements/templates/keg_elements/forms/horizontal_b4.html
Lines 194 to 199 in 69003d3
The text was updated successfully, but these errors were encountered: