Don't check minVal when direct input

The use can enter the number 123 and the minVal is only checked when the input lost the focus