Skip to content

Conversation

cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Aug 21, 2025

This PR improves the styling of selectize's "clear_button" plugin option, which we intend on making the default over in posit-dev/py-shiny#2064

library(shiny)

ui <- bslib::page_fluid(
  selectizeInput(
    "foo", "Foo", choices = c("Option 1", "Option 2", "Option 3"),
    options = list(plugins = list("clear_button"))
  )
)

server <- function(input, output, session) {}

shinyApp(ui, server)

Before

Screenshot 2025-08-21 at 5 17 08 PM

After

Screenshot 2025-08-21 at 5 17 37 PM

@cpsievert cpsievert requested a review from Copilot August 21, 2025 22:19
Copilot

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant