Tab and arrow keys not working when you enter more than the maximum number of characters on number field