set input type