Closed tylerlittlefield closed 1 year ago
library(shiny)
library(shinybulma)
ui <- bulmaPage(
bulmaActionButton("show_modal", "Show modal")
)
server <- function(input, output){
observeEvent(input$show_modal, {
bulmaModal(
id = "mymodal",
list(
title = "Modal title",
body = as.character(bulmaSelectInput("test", "test", letters))
)
)
})
}
if (interactive()) shinyApp(ui, server)
Pushed a fix, you can reinstall and omit as.character
Nice, thanks @JohnCoene !
Is it possible to put UI elements (e.g. dropdown) in the modals?