Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter_select: selecting the (All) option results in a javascript error #139

Open
daattali opened this issue Apr 9, 2023 · 1 comment
Open

Comments

@daattali
Copy link
Contributor

daattali commented Apr 9, 2023

Reproducible example (using {crosstalk} v1.2.0):

library(shiny)

df <- data.frame(id = 1:5, num1 = 11:15, num2 = 21:25)
shared_df <- crosstalk::SharedData$new(df, key = ~id, group = 'test')

ui <- fluidPage(
  crosstalk::filter_select("num1", "num1", shared_df, ~num1)
)

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

shinyApp(ui, server)

Every time you select (All), the filter breaks and an error shows up in the javascript console.

@andresimi
Copy link

filter_select is not working properly here also. Could you resolve that?

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

No branches or pull requests

2 participants