This just makes sure that the input keyboard is numeric not that you can only input numeric characters. If someone copy and pastes in some string characters it is still valid. Also the inputs are still just a string and not an actual numeric.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This just makes sure that the input keyboard is numeric not that you can only input numeric characters. If someone copy and pastes in some string characters it is still valid. Also the inputs are still just a string and not an actual numeric.