-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updateselectinput docs on UI input variables with special characters #3900
Comments
Interesting, thanks! This behavior seems to be specific to Chrome (I'm on v16.0.5845.187), and applies to both library(shiny)
ui <- fluidPage(
selectInput("x", NULL, choices = c("Foo", "Bar"), selectize = FALSE),
verbatimTextOutput("out")
)
server <- function(input, output, session) {
updateSelectInput(inputId = "x", choices = c("Project ID", "Other Choice"))
output$out <- renderPrint(input$x)
}
shinyApp(ui, server) |
If this issue is about the select But it sounds like there's a separate issue with the handling of |
Oh interesting, the problem I mentioned in #3900 (comment) goes away if I select "Never translate this page" (it's trying to translate to Arabic?!?) Anyway, it's not clear what Shiny can do to help the situation without any more details, so I'll be closing the issue |
For a number of reasons, I want to use UI input variables that include special characters (e.g.,
Project ID
instead ofProject_ID
). However, it appears thatupdateselectinput
does not work in such cases (e.g.,updateSelectInput(session, "plot type", choices = new_choices)
). It would be helpful to include such a warning in the updateselectinput docs.The text was updated successfully, but these errors were encountered: