JSFiddle - React, Tailwind, and code Playground

HTML

<input type="radio" name="radio"><label for="radio1">1</label>
 <input type="radio" name="radio"><label for="radio2">2</label>
 <input type="radio" name="radio"><label for="radio3">3</label>
 <input type="radio" name="radio"><label for="radio4">4</label>
 <input type="text" id="textInput">

JavaScript

$('#textInput').click(function () {
         $('input[name="radio"]').attr('checked',false);

      });