I would like to check if all the checkboxes are checked or not, and I haven’t found any relevant solution with React. And I’m not sure how can I do it with useState() hooks, since the number of products can be different each time.
Wow! Thanks, it seems the best approach, I have never used form libraries within React.
Anyways, I got it working now but I still have only little problem.
The data that is stored from IonCheckbox is its “value” field, instead of “checked”, so when I try to evaluate the state of them I got an array of “on”.