JSFiddle - React, Tailwind, and code Playground

by dhaval_123

HTML

<input type="text" value=""
                    name="purchasedate" id="purchasedate" class="form-control required" onChange="functionname()">
<script>
	function functionname(){
    console.log("herer");
	}
</script>