JSFiddle - React, Tailwind, and code Playground

HTML

<select>
  <option>Choose Your Name</option>
  <option>Frank</option>
  <option>George</option>
  <option>Other</option>
</select>
<label style="display:none;">Enter your Name
<input></input>
</label>

JavaScript

$(document).ready(function(){
    $('select').change(function(){
        if($('select option:selected').text() == "Other"){
        $('label').show();
        }
        else{
        $('label').hide();
        }
    })
});