Skip to content

Commit

Permalink
updated btn group update example
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Aug 30, 2023
1 parent 16b0dec commit 0179fb3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/update-checkbox-buttons.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server <- function(input, output, session) {
})

observeEvent(input$updatechoices, {
newchoices <- sample(letters, sample(2:6))
newchoices <- sample(letters, sample(2:10, 1))
updateCheckboxGroupButtons(
session = session,
inputId = "somevalue",
Expand Down
2 changes: 1 addition & 1 deletion examples/update-radio-buttons.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ server <- function(input, output, session) {
})

observeEvent(input$updatechoices, {
newchoices <- sample(letters, sample(3:7))
newchoices <- sample(letters, sample(3:9, 1))
updateRadioGroupButtons(
session = session,
inputId = "somevalue",
Expand Down
2 changes: 1 addition & 1 deletion man/updateCheckboxGroupButtons.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/updateRadioGroupButtons.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0179fb3

Please sign in to comment.