R/functions.R

Defines functions selectPicker

selectPicker <- function(id, x){
  shinyWidgets::pickerInput(
    inputId = id,
    label = "Player Name", 
    choices = attr(x, "Labels"),
    options = list(
      `live-search` = TRUE)
)
  
}
RandhirBilkhu/fpl documentation built on Jan. 25, 2021, 11:32 p.m.