Changing input type to text