I have a problem that I can`t really figure out. I have this todo list and I am required to have checkbox. The problem is that if I have the top task checked and then I remove it, the following task get checked by itself.
If I use a button instead of checkbox the functionability works with no problem, but I am required to have a checkbox. Any ideas why? There is a like with the codesandbox below. Thank you!
https://codesandbox.io/s/student-frontend-developer-template-forked-jupcx?file=/src/App.js
Aucun commentaire:
Enregistrer un commentaire