I am not able to edit in the text field its shows only the default value ,how to initially its show the default values and the I have to edit the text field as my requirement
const[vari,setVari]=React.useState("SAM");
return (
<div>
<input value={vari} onchange={(e)=>setVari(e.target.value)}/>
</div>