Skip to content
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

Update 158-input-labels to leverage HTML labels #262

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cpsievert
Copy link
Contributor

@JohnCoene
Copy link

@cpsievert I don't have much to add (re your comment on rstudio/shiny#3996) other than I encountered this limitation when creating an input within a label.

textInput(
  "id",
  checkboxInput("include", "label"),
  "value"
)

@@ -9,7 +9,7 @@ row <- function(w1, w2) {
fluidRow(column2(w1), column2(w2))
}

label_initial <- "An <i>escaped</i> Label"
label_initial <- HTML("An <i>escaped</i> Label")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
label_initial <- HTML("An <i>escaped</i> Label")
label_initial <- HTML("An <i>html</i> Label")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants