selectPicker <- function(id, x){
shinyWidgets::pickerInput(
inputId = id,
label = "Player Name",
choices = attr(x, "Labels"),
options = list(
`live-search` = TRUE)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.