Skip to content

Commit

Permalink
create_column: reset feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Apr 17, 2024
1 parent 1b4cbd7 commit 77f1634
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions R/create-column.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,21 @@ create_column_server <- function(id,

ns <- session$ns

info_alert <- alert(
status = "info",
ph("question"),
"Choose a name for the column to be created or modified,",
"then enter an expression before clicking on the button above to validate or on ",
ph("trash"), "to delete it."
)

rv <- reactiveValues(
data = NULL,
feedback = alert(
status = "info",
ph("question"),
"Choose a name for the column to be created or modified,",
"then enter an expression before clicking on the button above to validate or on ",
ph("trash"), "to delete it."
)
feedback =info_alert
)

observeEvent(input$hidden, rv$feedback <- info_alert)

bindEvent(observe({
data <- data_r()
updateVirtualSelect(
Expand Down

0 comments on commit 77f1634

Please sign in to comment.