You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bs_tooltip is not working with dateRangeInput/dateInput in Shiny #60
the package bsplus is great and easy to use but it seems it doesn't seem to handle dateRangeInput. Is that a bug ?
Error in .tag_validate(tag, name = "div", class = "form-group shiny-input-container") :
class is: shiny-date-range-input form-group shiny-input-container, needs to be: form-group shiny-input-container
It works perfectly with selectInput and most common inputs
Without tooltip it's OK, my code runs
## Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
dateRangeInput("daterange1", "Date range:",
start = "2001-01-01",
end = "2010-12-31")
) ,
selectInput("date", "Date:",
choices = c("me","you"))%>%
shinyInput_label_embed(
icon("question-circle") %>%
bs_embed_tooltip(title = "choose your date range dude !")
)
shinyApp(ui, server = function(input, output) { })
}
with tooltip it doesn't...
## Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
dateRangeInput("daterange1", "Date range:",
start = "2001-01-01",
end = "2010-12-31")%>%
shinyInput_label_embed(
icon("question-circle") %>%
bs_embed_tooltip(title = "choose your date range dude !")
) ,
selectInput("date", "Date:",
choices = c("me","you"))%>%
shinyInput_label_embed(
icon("question-circle") %>%
bs_embed_tooltip(title = "choose your date range dude !")
)
)
shinyApp(ui, server = function(input, output) { })
}
Activity
micahwilhelm commentedon Apr 30, 2020
Has anyone found a workaround for this bug?
ijlyttle commentedon May 17, 2020
I think this can be fixed by making an internal validation-function a bit more lenient.