Fix partial arg match. Closes #1701

This commit is contained in:
Winston Chang
2017-05-10 10:06:47 -05:00
parent 06c75dd656
commit 0e529d3d92
2 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,8 @@ shiny 1.0.3.9000
### Bug fixes
Fixed [#1701](https://github.com/rstudio/shiny/issues/1701): There was a partial argument match in the `generateOptions` function. ([#1702](https://github.com/rstudio/shiny/pull/1702))
### Library updates

View File

@@ -73,10 +73,10 @@ generateOptions <- function(inputId, selected, inline, type = 'checkbox',
# checkbox-inline.
if (inline) {
tags$label(class = paste0(type, "-inline"), inputTag,
tags$span(pd$html, pd$dep))
tags$span(pd$html, pd$deps))
} else {
tags$div(class = type, tags$label(inputTag,
tags$span(pd$html, pd$dep)))
tags$span(pd$html, pd$deps)))
}
},
SIMPLIFY = FALSE, USE.NAMES = FALSE