JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="I have value" class="input__me">

JavaScript

$('.input__me').val('');