AnalytixWare / ShinySky

Various UI widgets/components not part of Shiny e.g. alerts, styled buttons
Other
186 stars 65 forks source link

Fixed select2Input: choices pushed from server are not shown in the list #19

Closed vrann closed 5 years ago

vrann commented 9 years ago

Assume this code is executed in the server.R

updateSelect2Input(session, "select2Input1", choices = c("d", "e", "f"), selected = c("f", 
            "d"), label = "hello")

Expected behavior is to have the list of choices in the select dropdown being populated with the "d", "e", "f" items. So that when "d" key is pressed, it will show up as a found item of the list. This never happens, because choices pushed from the server side are ignored.

The issue is reproducible in shinysky::run.shinysky.example() as well