I am trying to set for in label , however the react engine is ignoring it. (I am probably doing it wrong )
Can someone help me with correct syntax for using "for" in label for JSX.
Here is my code snippet
<form role="form">
<div className="checkbox checkbox-primary">
<input type="checkbox" className="styled" id="checkbox1" name="foambox" ref="foambox" />
<label for="checkbox1"><span style={{margin:10,cursor:'default'}}>For this delivery, would you like us to take back the foam box </label>
</div>
</form>
What is the correct way to specify it ?