Skip to content

Commit

Permalink
Merge pull request #340 from Appsilon/fix-upd-sel
Browse files Browse the repository at this point in the history
[change] update select input has default label set to null
  • Loading branch information
dokato authored Jan 2, 2021
2 parents b3abb31 + ec66e21 commit 8d1d0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dropdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ update_dropdown_input <- function(session, input_id, choices = NULL, choices_val
#' }
#'
#' @export
updateSelectInput <- function(session, inputId, label, choices = NULL, selected = NULL) {
updateSelectInput <- function(session, inputId, label = NULL, choices = NULL, selected = NULL) {
if (!is.null(selected)) selected <- paste(as.character(selected), collapse = ",") else selected <- NULL
if (!is.null(choices)) {
choices_text <- names(choices)
Expand Down

0 comments on commit 8d1d0bd

Please sign in to comment.