In Shiny can a data frame be used as choices in selectizeInput?
问题 Is it possible for the choices in selectizeInput to be rows from a data frame? If so, would the returned data be a list of items from the selected row? I have been unable to make this work. In the code below, cityInput works since the choices are a character vector; but locationInput does not work, the item list in the select box is empty. This is a common occurrence where user input requires selection based on the values in multiple columns to determine a unique row. In the example below,