selectInput not showing value when only one choice

I am creating a dynamic selectInput object which is populated from a database query. Sometimes the query returns only one item in the list. When this happens, the selectInput does not show any values. How can I get the selectInput to default to the value when there is only one choice

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.