Change text input type