5

I am trying to dynamically switch the active tabPanel in the tabsetPanel when the value of selectInput changes. How would I be able to achieve this?

Timothy Tuti
  • 992
  • 2
  • 15
  • 29

1 Answers1

7

Something like this ought to work:

observe({
  updateTabsetPanel(session, "tabsetId", selected = input$selectInputId)
})
Joe Cheng
  • 8,001
  • 42
  • 37