Skip to content

Arguments not being passed to grid_card #13

@MikeJohnPage

Description

@MikeJohnPage

The grid_card_text() function does not appear to be passing on arguments to grid_card() using the ellipsis. For example setting has_border = FALSE in grid_card_text() does not remove the border from the card. Reprex below:

library(shiny)
library(gridlayout)

ui <- grid_page(
  layout = c(
    "    1fr   ",
    "1fr header"
  ),
  grid_card_text("header", "Test header", has_border = FALSE)
)

server <- function(input, output) {
}

shinyApp(ui, server)

I'm not sure if this is my user error or an error with the function. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions