type text to input