even if i do that when you are in input and the digits go off the box the box still gets affected so maybe there is another way of typing numbers with limited digits