I need to go through an array and generate input of type checkbox, then I need to verify, through another array, which should be selected and which should not, how can I do it, my current code is the following
I tried to loop through an array inside the input but it didn’t work