Description
When clicking on a label for a checkbox to select a category, the label always selects the Nth of the first column
To Reproduce
Steps to reproduce the behavior:
Go to the asvs list
Click on any label not on the first column
A different checkbox is selected
Expected behavior
When clicking on a label, the corresponding checkbox should be selected
Screenshots
Additional information
Probable cause: When generating the checkboxes and labels, there are multiple checkboxes with the same index. When assigning the HTML for attribute, it will bind to the first one with the index.
Description When clicking on a label for a checkbox to select a category, the label always selects the Nth of the first column
To Reproduce Steps to reproduce the behavior:
Expected behavior When clicking on a label, the corresponding checkbox should be selected
Screenshots![image](https://github.com/Studentassistenten-Windesheim/ASVS-for-dummies/assets/62651445/6d7bcb88-287b-44fb-946b-3e0dd76b3328)
Additional information Probable cause: When generating the checkboxes and labels, there are multiple checkboxes with the same index. When assigning the HTML for attribute, it will bind to the first one with the index.