diff --git a/R/input-selectpicker.R b/R/input-selectpicker.R index a6a3c6a7..d6f1d39a 100644 --- a/R/input-selectpicker.R +++ b/R/input-selectpicker.R @@ -145,13 +145,13 @@ pickerInput <- function(inputId, #' @param label Display a text in the center of the switch. #' @param choices List of values to select from. If elements of the list are named #' then that name rather than the value is displayed to the user. -#' @param selected The new selected value (or multiple values if \code{multiple = TRUE}). -#' To reset selected value, in case of multiple picker, use \code{character(0)}. +#' @param selected The new selected value (or multiple values if `multiple = TRUE`). +#' To reset selected value, in case of multiple picker, use `character(0)`. #' @param choicesOpt Options for choices in the dropdown menu. -#' @param options Options for the picker via \code{\link{pickerOptions}}. +#' @param options Options for the picker via [pickerOptions()]. #' @param clearOptions Clear previous options, otherwise the ones set previously are still active. #' -#' @seealso \link{pickerInput}. +#' @seealso [pickerInput()]. #' #' @export #' diff --git a/man/updatePickerInput.Rd b/man/updatePickerInput.Rd index 6f152f23..f68198d9 100644 --- a/man/updatePickerInput.Rd +++ b/man/updatePickerInput.Rd @@ -5,7 +5,7 @@ \title{Change the value of a select picker input on the client} \usage{ updatePickerInput( - session, + session = getDefaultReactiveDomain(), inputId, label = NULL, selected = NULL, @@ -30,7 +30,7 @@ then that name rather than the value is displayed to the user.} \item{choicesOpt}{Options for choices in the dropdown menu.} -\item{options}{Options for the picker via \code{\link{pickerOptions}}.} +\item{options}{Options for the picker via \code{\link[=pickerOptions]{pickerOptions()}}.} \item{clearOptions}{Clear previous options, otherwise the ones set previously are still active.} } @@ -112,5 +112,5 @@ shinyApp(ui = ui, server = server) } } \seealso{ -\link{pickerInput}. +\code{\link[=pickerInput]{pickerInput()}}. }