исправил чекбоксы оборудования в аудиторном фонде

This commit is contained in:
2026-06-02 00:29:23 +03:00
parent a966648a7e
commit 4e1985c28e
2 changed files with 12 additions and 1 deletions

View File

@@ -21,8 +21,9 @@ function renderEquipmentCheckboxes(equipments, containerId, selectTextId, select
}
container.innerHTML = equipments.map(eq => `
<label class="checkbox-container">
<label class="checkbox-item">
<input type="checkbox" value="${eq.id}" ${selectedIds.includes(eq.id) ? 'checked' : ''}>
<span class="checkmark"></span>
<span>${escapeHtml(eq.name)}</span>
</label>
`).join('');