Switches datalist to select.