JSFiddle - React, Tailwind, and code Playground

by waxwing

HTML

<input id="a" type="text">

JavaScript

document.getElementById("a").value = undefined;