fix(timepicker): fix errors while typing invalid values (fixes #933)