AnalytixWare / ShinySky

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

using select2Input within renderUI #26

Open nitingupta2 opened 7 years ago

nitingupta2 commented 7 years ago

I'm trying to render a select2Input box from renderUI after downloading a bunch of symbols. But the select2Input box renders on the UI without the "Enter Symbols" label. The same code when used with selectInput box renders without any issue.

Here are my code snippets:

UI

               wellPanel(
                   busyIndicator("Loading...please wait...", wait = 0),
                   uiOutput("sel2"),
                   actionButton("updateButton", "Update"),
                   uiOutput("dates")
               )

Server

    output$sel2 <- renderUI({
        select2Input("sel2", "Enter Symbols", choices = dfSecurities$symbol)
    })