Skip to content

Is it possible to renderUI on a pickInput within a dropdownbutton #7

@peeyooshc

Description

@peeyooshc

Firstly thank you for sharing - this is an excellent package. I'm hoping the answer to my question below is easy, as it has me a little stumped due to little knowledge of how the jQuery is being built up.

I've setup a dropdownButton and want to be able to use the p

dropdownButton(
              "Select adverts to drill down",
              circle = TRUE, status = "default", icon = icon("sliders"), width = "300px",
              tooltip = tooltipOptions(title = "Click to see inputs !"),
              uiOutput("choose_adverts")
            )

I want to be able to render a pickerInput in this box, with dynamically updated list of choices

pickerInput(inputId = "Adverts", 
               label = "Adverts",
              choices = adverts, # a list of strings
               options = list(`actions-box` = TRUE, `live-search` = TRUE), 
              multiple = TRUE)

It currently renders the picker but does not populate choices.

Are you able to suggest what I might try to get it to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions