JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<input type="checkbox" id="branco" />
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
</div>
<div>
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
</div>
CSS
div {
border: 1px solid black;
margin-bottom: 1px;
}
JavaScript
$('#branco').click(function() {
if ($(this).is(':checked')) {
$(this).siblings('input:checkbox').not(this).removeAttr('checked');
$(this).siblings('input:checkbox').not(this).attr('disabled','true');
}
});