在带有 R 闪亮的 selectizeInput 中使用 html

问题描述

我想在 select(ize)Input 的选项中使用一些 html。有谁知道一个简单的解决方案如何告诉闪亮将选项视为 HTML?

library(shiny)

ui <- fluidPage(
  selectInput("test html use",label = "option",choices = c("<div title = 'This is option A'>opt A</div>","opt B"))
)

server <- function(input,output) {
}

shinyApp(ui = ui,server = server)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)