I would like to put 2 functions in onChange input attribute. However, it is not working. I have searched other examples online but to no avail.
const [user, setUser] = useState();
function handleEdit(e) {
// some code for the function
};
<input onChange="{e => setUser(e.target.value)}; {handleEdit};" ></input>
I have tried using quotes to capture the 2 functions but it does not work. Please help!