input validation for TextInput widgets! yay!