Closed jooj123 closed 8 years ago
Makes sure you can use the checkbox event (eg. to access event.target.value) in the onChange callback when you dont use the label prop.
event.target.value
onChange
label
Ensures that the checkbox is the target and not the <ins /> element
<ins />
LGTM! :+1:
Makes sure you can use the checkbox event (eg. to access
event.target.value
) in theonChange
callback when you dont use thelabel
prop.Ensures that the checkbox is the target and not the
<ins />
element