Closed jonasmuench closed 8 months ago
Thanks for reporting this, it's fixed if you re-install from GitHub, but you have to repeat the option in updatePickerInput()
, e.g. :
updatePickerInput(
session = session,
inputId = "test",
label = "Updated picker",
choices = list(
"Group1" = list("A" = "A1", "B" = "B1"),
"Group2" = list("A" = "A2", "B" = "B2", "C" = "C2"),
"Group3" = list("A" = "A3", "B" = "B3", "C" = "C3")
),
selected = c("A1", "B2", "C3"),
options = list(`max-options-group` = 1L)
)
Thanks, when will there be a new version on CRAN?
On CRAN now ;)
If I update a picker input with
updatePickerInput
, I can select more than one element per group although I have previously restricted it with the option'max-options-group' = 1
. Is this a bug or am I missing something?After update: