Следуя этому примеру , может кто-нибудь, пожалуйста, скажите мне, возможно ли это, и как изменить цвет шрифта элементов в раскрывающемся меню pickerInput
UI из shinyWidgets
package?
Вот краткий пример виджета:
library("shiny")
library("shinyWidgets")
shinyApp(
ui =
shinyUI(fluidPage(
sidebarLayout(
sidebarPanel(
pickerInput("select", label=NULL,
choices=LETTERS,
selected = LETTERS,
multiple=TRUE,
options = list(
`actions-box` = TRUE,
size = 10,
`selected-text-format` = "count > 3"
))
),
mainPanel())
)
),
server = function(input, output){}
)
> sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
attached base packages:
[1] stats4 parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] shinyWidgets_0.5.3 dendextend_1.13.4 tidyr_1.1.0 patchwork_1.0.1 ggplot2_3.3.1
[6] shinyhelper_0.3.2 colorspace_1.4-1 colourpicker_1.0 shinythemes_1.1.2 DT_0.13
[11] dplyr_1.0.0 shiny_1.4.0.2 MSnbase_2.14.2 ProtGenerics_1.20.0 S4Vectors_0.26.1
[16] mzR_2.22.0 Rcpp_1.0.4.6 Biobase_2.48.0 BiocGenerics_0.34.0