I\'m using Material UI in a React application and trying to implement an entity update page. In this, we would need to set the exiting values of the entity to let the user updat
I can say whatever works for me try this out .
This is for Functional based Component.
const Example = () =>{ const [name, setName] = useState(""); const editName = (name) =>{ setName(name); } return( setName(e.target.value)} label="Enter Name" /> ) }