Change the input type