For the following number input, if you try to enter the number out of the range (1-10) or text character it will show error.