JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" id="it" value="">
<input type="radio" name="hey" value="yeksale">
<input type="radio" name="hey" value="two">
<input type="radio" name="hey" value="three">
JavaScript
$(document).ready(function(){
$("input[type=radio]").click(function(){
if(this.value==yeksale){
$("#it").val('kiremaee');
}
$("#it").val(this.value);
});
});