J
J
JasonJon2018-07-14 22:12:04
React
JasonJon, 2018-07-14 22:12:04

How to change state of checkbox via props for specific element?

The following situation is there is a specific state of the parent I need in the element in which the props change the state of the parent. So that by clicking on the checkbox, only one specific one changes, and not all. https://jsfiddle.net/nxdpqse5/3/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-07-14
@rockon404

What you want to do can be done like this .
But your example is not well designed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question