change dropdown names on page load

This commit is contained in:
2026-08-25 18:41:30 +01:00
parent af2092d8f8
commit 8f27c3658c
+2 -1
View File
@@ -377,7 +377,8 @@ function populateDropdown(containerId, items, codeKey, labelKey) {
<input type="checkbox"
name="${containerId}"
value="${item[codeKey]}"
data-label="${item[labelKey]}">
data-label="${item[labelKey]}"
checked>
<span>${item[labelKey]}</span>
`;
checkboxList.appendChild(label);