JSFiddle - React, Tailwind, and code Playground

HTML

<input type="radio" name="foo" data-once="0" onmouseup="checkbox(this)" />
<input type="radio" name="foo" data-once="0" onmouseup="checkbox(this)" />

JavaScript

function checkbox(rad) {
   
    if (rad.getAttribute('data-once') == "1" && rad.checked ) {
        setTimeout(function () {
                    rad.checked=!rad.checked;
                    },50)}
rad.setAttribute('data-once', '1');
}