JSFiddle - React, Tailwind, and code Playground

HTML

<input id="test"/>

JavaScript

$('input:text').val('you found me!');