#Issue with checkbox functionality

4 messages · Page 1 of 1 (latest)

flint shoal
silent eagle
tired root
#

Check this scrim to see the working todo app:
https://scrimba.com/scrim/co23f4426bd8187a32f94865b
Here I have added a check to see if the item with the matching value property was found in the priorTodo array, and I have also added a value attribute to the checkboxes that is bound to the value property of the items in the list. This allows the handleCheckboxClick function to correctly identify the item to update when a checkbox is clicked.

flint shoal