I have a problem with the following code.
When I enter an invalid value it works, but if I do not remove the focus from the input and keep entering numbers, the inval