Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uiOutput not works in the bs4DashControlbar #93

Closed
artemklevtsov opened this issue Feb 19, 2020 · 0 comments
Closed

uiOutput not works in the bs4DashControlbar #93

artemklevtsov opened this issue Feb 19, 2020 · 0 comments

Comments

@artemklevtsov
Copy link

Hi,

Seems uiOutput not processed when placed in the bs4DashControlbar.

Minimal example:

library(shiny)
library(bs4Dash)

shinyApp(
  ui = bs4DashPage(
    title = "Test download",
    navbar = bs4DashNavbar(
      h3("Test",
         style = "color: white; margin-bottom: 0px;")
    ),
    sidebar = bs4DashSidebar(
      bs4SidebarMenu(
        bs4SidebarMenuItem(
          "Test",
          tabName = "test",
          icon = "truck-moving"
        )
      )
    ),
    controlbar = bs4DashControlbar(
      dateRangeInput("dd1", "r1"),
      uiOutput("test")
    ),
    body = bs4DashBody()
  ),
  server = function(input, output, session) {
    output$test <- renderUI({
      dateRangeInput("dd2", "r2")
    })
  }
)

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant