From 72fdc6c5137624b68254bd255e347b014971fb77 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Fri, 23 Jun 2023 23:54:24 -0500 Subject: [PATCH] fixes? --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index ec2a43d..2736520 100644 --- a/index.js +++ b/index.js @@ -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);