When I use selectizeInput inside a material_page it duplicates the drop down menu, once in material style and once in the normal shiny style.
See below a minimal example:
library(shiny)
library(shinymaterial)
shinyApp(
material_page(fluidPage(
selectizeInput("foo", "Foo", choices = c(10,100)),
textOutput("text")
)),
function(input, output, session) {
output$text <- renderText({ input$foo })
}
)
I don't have the problem when using selectizeInput indirectly with uiOutput
library(shiny)
library(shinymaterial)
shinyApp(
material_page(fluidPage(
uiOutput("TT"),
textOutput("text")
)),
function(input, output, session) {
output$TT<-renderUI({
selectizeInput("foo", "Foo", choices = c(10,100))
})
output$text <- renderText({ input$foo })
}
)
Session Info
shinymaterial_1.2.0.9000
shiny_1.5.0
When I use selectizeInput inside a
material_pageit duplicates the drop down menu, once in material style and once in the normal shiny style.See below a minimal example:
I don't have the problem when using
selectizeInputindirectly withuiOutputSession Info
shinymaterial_1.2.0.9000
shiny_1.5.0