I’m having trouble to update the checkbox state after it’s assigned with default value checked="checked"
in React.
var rCheck = React.createElement('input',
{
type: 'checkbox',
checked: 'checked',
value: true
}, 'Check here');
After assigning checked="checked"
, I cannot interact the checkbox state by clicking to uncheck/check.