JSFiddle - React, Tailwind, and code Playground

by Tim Büthe

HTML

<label for="checkbox1">ddd</label><input id="checkbox1" type="checkbox" class="radiocheckbox">
<input type="checkbox" class="radiocheckbox">

JavaScript

$('.radiocheckbox').change(function(){
  $('.radiocheckbox').not(this).prop('checked', false);
})