Skip to content

Commit

Permalink
inputSweetAlert(): use inputValidator argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Sep 5, 2021
1 parent bad6d44 commit 0f367f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinyWidgets
Title: Custom Inputs Widgets for Shiny
Version: 0.6.0.9200
Version: 0.6.0.9210
Authors@R: c(
person("Victor", "Perrier", email = "victor.perrier@dreamrs.fr", role = c("aut", "cre", "cph")),
person("Fanny", "Meyer", role = "aut"),
Expand Down
1 change: 1 addition & 0 deletions R/sweetalert.R
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ inputSweetAlert <- function(session,
input = input,
inputOptions = inputOptions,
inputPlaceholder = inputPlaceholder,
inputValidator = inputValidator,
confirmButtonText = btn_labels[1],
confirmButtonColor = btn_colors[1],
cancelButtonText = btn_labels[2],
Expand Down

0 comments on commit 0f367f1

Please sign in to comment.