change dropdown names on page load
This commit is contained in:
+2
-1
@@ -377,7 +377,8 @@ function populateDropdown(containerId, items, codeKey, labelKey) {
|
|||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
name="${containerId}"
|
name="${containerId}"
|
||||||
value="${item[codeKey]}"
|
value="${item[codeKey]}"
|
||||||
data-label="${item[labelKey]}">
|
data-label="${item[labelKey]}"
|
||||||
|
checked>
|
||||||
<span>${item[labelKey]}</span>
|
<span>${item[labelKey]}</span>
|
||||||
`;
|
`;
|
||||||
checkboxList.appendChild(label);
|
checkboxList.appendChild(label);
|
||||||
|
|||||||
Reference in New Issue
Block a user