Php Input Type Checkbox Onclick React