Reactjs – Using react hook to change the value of an input after regex clean up
I am trying to create a validation that automatically removes bad characters as they are typed in. The state is changing correctly and the removal is happening correctly. The problem I am having is updating the actual value of the…