samedi 28 janvier 2017

change value if the checkbox is checked reactjs

In this code I have a list of checkbox and next to each checkbox a message that says selected / unselected I am now needing that when selecting each checkbox change that message depending on the state of the checbox

Checkbox is selected = 'selected '
Checkbox is not selected = 'unselected '

and the codepen http://ift.tt/2jAhcgH thanks




Aucun commentaire:

Enregistrer un commentaire