Text field not allowing input