how to reset text to normal text once submit is done in reactjs code example Example: how to empty form after submit react e.target.reset();