We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting an input label to some shiny.tag works but update breaks it
shiny.tag
library(shiny) ui <- fluidPage( textInput("text", span("Text", class = "text-danger"), "Hello, world!"), actionLink("update", "update label") ) server <- function(input, output, session) { observeEvent(input$update, { updateTextInput(session, "text", label = span("Updated", class = "text-success")) }) } shinyApp(ui, server)
In the update* function we can convert the shiny.tag to a string (as.character()) but it still appears as text rather than HTML, probably because of:
update*
as.character()
shiny/srcts/src/utils/index.ts
Line 355 in e2b7f91
The text was updated successfully, but these errors were encountered:
fix: allow update input labels with HTML fixes rstudio#3995
ae7c316
Successfully merging a pull request may close this issue.
Setting an input label to some
shiny.tag
works but update breaks itIn the
update*
function we can convert theshiny.tag
to a string (as.character()
) but it still appears as text rather than HTML, probably because of:shiny/srcts/src/utils/index.ts
Line 355 in e2b7f91
The text was updated successfully, but these errors were encountered: