Closed Huh closed 4 months ago
Following up. I believe these are all preview issues and they work as expected in a shiny app, but do not outside of an application. The following are all of the widgets from the Posit gallery that render differently outside a shiny app.
I am closing.
bslib::card(
dateInput(
"date",
label = h3("Date input"),
value = "2014-01-01"
),
dateRangeInput(
"dates",
label = h3("Date range")
),
selectInput(
"select",
label = h3("Select box"),
choices = list(
"Choice 1" = 1,
"Choice 2" = 2,
"Choice 3" = 3
),
multiple = TRUE
),
sliderInput(
"slider1",
label = h3("Slider"),
min = 0,
max = 100,
value = 50
),
sliderInput(
"slider2",
label = h3("Slider range"),
min = 0,
max = 100,
value = c(25, 75)
)
)
This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. :raising_hand: Need help? Connect with us on Discord or Posit Community.
The appearance of selectInput is altered in sidebars when multiple is TRUE on bslib 0.7.0.
The following renders as expected:
However, when multiple is TRUE all of the options are shown at once
I am experiencing this on a Mac using Safari and within the RStudio viewer.
Session Info