-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
When the code was changed for in-survey accessibility enhancements (#436) The code to hand the "others" was changed.
originally:
[...divElement.querySelectorAll("label input,label textarea")].forEach(inputElement => {
let radioCB = document.getElementById(inputElement.closest('label').htmlFor)
RadioCB is the input[type="radio"] or input[type="checkbox"] associated with the other input box.
This was changed to
let radioCB = document.getElementById(inputElement.id)
which is the type box.
This is why the results are screwing up when the "other" is selected.
Lines 1036 to 1037 in ec22434
| [...divElement.querySelectorAll("label input,label textarea")].forEach(inputElement => { | |
| let radioCB = document.getElementById(inputElement.id) |
JoeArmani
Metadata
Metadata
Assignees
Labels
No labels