This commit is contained in:
oitsjustjose 2023-06-23 23:54:24 -05:00
commit 72fdc6c513

View file

@ -49,6 +49,7 @@ const render = () => {
input.ariaLabel = "Text input with checkbox";
input.value = name;
input.style.textDecoration = done ? 'line-through' : 'none';
input.id = `${id}-${name}`;
input.addEventListener('input', _ => {
updateChecklistItem(id, input.value, checkbox.checked);