JSFiddle - React, Tailwind, and code Playground
HTML
<table class="table">
<tr>
<td>
<input type="radio" id="radio1" name="1" checked="checked" class="radio" onmouseup="radioSearchFn(this)"/>
</td>
<td>
<input type="radio" id="radio2" name="1" checked="checked" class="radio" onmouseup="radioSearchFn(this)"/>
</td>
</tr>
</table>
JavaScript
function radioSearchFn(obj)
{
alert(obj.checked);
if(obj.checked == true)
{
obj.checked = false;
obj.removeAttribute("checked");
}
}