Fixed a bug - input became false valid when empty

Was becoming valid after typing text and removing it to leave field
empty. Example: typing 123 then erase text and stay inside input, field
became valid... Anyway it is now fixed.