Skip to content

Commit

Permalink
fix restore
Browse files Browse the repository at this point in the history
  • Loading branch information
nbenn authored and christophsax committed Feb 3, 2025
1 parent eda982e commit ed72a94
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/select.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ new_select_block <- function(columns = character(), ...) {
sels <- reactiveVal(columns)
cols <- reactive(colnames(data()))

observeEvent(
input$columns,
sels(intersect(input$columns, cols()))
)

observe(
{
sels(intersect(input$columns, cols()))

updateSelectInput(
session,
inputId = "columns",
Expand Down

0 comments on commit ed72a94

Please sign in to comment.