Css picketInput更改占位符R
Css picketInput更改占位符R,css,r,shiny,placeholder,shinywidgets,Css,R,Shiny,Placeholder,Shinywidgets,shinyWidgets包中的pickerInput具有占位符标题未选择任何内容 如何将其替换为例如,选择一个选项?我更喜欢使用css或pickerInput选项的解决方案,如果可能的话,避免使用shinyjs library(shiny) library(shinyWidgets) ui <- fluidPage( tags$head( tags$style(HTML(" ")) ), pickerInput( inputId = "mtcIn
shinyWidgets
包中的pickerInput
具有占位符标题未选择任何内容
如何将其替换为例如,选择一个选项
?我更喜欢使用css或pickerInput
选项的解决方案,如果可能的话,避免使用shinyjs
library(shiny)
library(shinyWidgets)
ui <- fluidPage(
tags$head(
tags$style(HTML("
"))
),
pickerInput(
inputId = "mtcInputIndicateur",
label = "Select values",
choices = paste("choice", 1:10),
options = list(`live-search` = TRUE),
multiple = TRUE
)
)
server <- function(input, output){
}
shinyApp(ui, server)
库(闪亮)
图书馆(shinyWidgets)
ui刚刚找到答案,使用选项中的参数title
library(shiny)
library(shinyWidgets)
ui <- fluidPage(
pickerInput(
inputId = "mtcInputIndicateur",
label = "Select values",
choices = paste("choice", 1:10),
options = list(`live-search` = TRUE, title = "Pick a choice"),
multiple = TRUE
)
)
server <- function(input, output){
}
shinyApp(ui, server)
库(闪亮)
图书馆(shinyWidgets)
用户界面