JSFiddle - React, Tailwind, and code Playground

by Reigel Gallarde

HTML

<input type="checkbox" /><input type="checkbox" /><input type="checkbox" /><input type="checkbox" />

JavaScript

$(':checkbox').change(function(){

   if (this.checked) {
      $(this).siblings(':checkbox').attr('checked',false);
   }

});