JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

var inputs = $('[type="checkbox"]');
inputs.on('click', function() {
    inputs.get().forEach(function(el) {
        el.checked = el == this && this.checked;
    }, this);
});