convert select to input