From e0f1ea5bc40c8e40b744f534df1be1448f42014a Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Mon, 2 Oct 2023 10:55:11 +0200 Subject: [PATCH] remove undocumented label reformat --- R/optionalInput.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/optionalInput.R b/R/optionalInput.R index 38971254..56a29098 100644 --- a/R/optionalInput.R +++ b/R/optionalInput.R @@ -241,7 +241,7 @@ optionalSelectInput <- function(inputId, # nolint # visibility feature marked with display: none/block instead of shinyjs::hide/show # as mechanism to hide/show is handled by javascript code style = if (fixed) "display: block;" else "display: none;", - tags$label(class = "control-label", sub(":[[:space:]]+$", "", label)), + tags$label(class = "control-label", label), # selected values as verbatim text tags$code( id = paste0(inputId, "_selected_text"),