diff --git a/inst/examples/components/HTMLSelect.R b/inst/examples/components/HTMLSelect.R index 1a69648..6c19eff 100644 --- a/inst/examples/components/HTMLSelect.R +++ b/inst/examples/components/HTMLSelect.R @@ -4,6 +4,7 @@ library(shiny) setInput <- function(inputId, accessor = NULL) { JS(paste0("x => Shiny.setInputValue('", inputId, "', x", accessor, ")")) } + ui <- function(id) { ns <- NS(id) tagList( diff --git a/man/HTMLSelect.Rd b/man/HTMLSelect.Rd index 9d7ae00..9a91ee2 100644 --- a/man/HTMLSelect.Rd +++ b/man/HTMLSelect.Rd @@ -26,6 +26,7 @@ library(shiny) setInput <- function(inputId, accessor = NULL) { JS(paste0("x => Shiny.setInputValue('", inputId, "', x", accessor, ")")) } + ui <- function(id) { ns <- NS(id) tagList(