Add add check boxes.

bulmaCheckInput(inputId, choices, color = NULL, checked = NULL)

Arguments

inputId

The input slot that will be used to access the value.

choices

Vector of choices, named or unnamed.

color

Vector of colors.

checked

Values of checked boxes.

Author

John Coene, jcoenep@gmail.com

Examples

if(interactive()){ shiny::shinyApp( ui = bulmaPage( bulmaTitle("Hello Bulma"), bulmaCheckInput("select", c("Miles per galon" = "mpg", "Rear axle ratio" = "drat"), checked = "mpg", color = c("danger", "info")), verbatimTextOutput("selected") ), server = function(input, output) { output$selected <- renderText({ input$select }) } ) }