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