I'm wondering if there is an overview regarding supported selectize.js plugins for shiny's selectizeInput
.
This article isn't mentioning plugins at all:
The following example shows, that the remove_button
plugin works fine, however the dropdown_direction
plugin isn't available. Browser console output:
Uncaught Error: Unable to find "dropdown_direction" plugin
library(shiny)
ui <- fluidPage(
selectizeInput("max5", "max5", choices = 1:10, multiple = TRUE, options = list(maxOptions = 5)),
selectizeInput("remove", "remove", choices = 1:10, multiple = TRUE, options = list(maxOptions = 5, 'plugins' = list('remove_button'))),
selectizeInput("upward", "upward", choices = 1:10, multiple = TRUE, options = list(maxOptions = 5, dropdownDirection = 'up', 'plugins' = list('dropdown_direction'))),
)
server <- function(input, output, session) {}
shinyApp(ui, server)
PS: I know that there are workarounds regarding the dropdown_direction
case.