change the text input into combobox