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
Merge pull request #1 from loicfevrier/patch-2

Don't check minVal when direct input