change input type from search to text