How to get multiple checkboxes value ? Ref not working in material ui checkbox, no idea why.
<Checkbox key={i} label={catagory.name} ref="categories" value={catagory_name} name="category" />
for example : example
I get the data from API, so it will add more from time to time. How to get the value? What function I should write? Anyone know ?
Aucun commentaire:
Enregistrer un commentaire