JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" class="checkgroup" id="ok"/>
<input type="checkbox" class="checkgroup" id="nok"/>
<input type="checkbox" class="checkgroup" id="na"/>

JavaScript

$(function(){
   $('input.checkgroup').click(function(){
      if($(this).is(":checked")){
         $('input.checkgroup').attr('disabled',true);
         $(this).removeAttr('disabled');
      }else{
         $('input.checkgroup').removeAttr('disabled');
      }
   })
})