Add input_check_buttons() and input_radio_buttons()#485
Closed
Add input_check_buttons() and input_radio_buttons()#485
Conversation
1f30ce3 to
2c09f4b
Compare
cpsievert
commented
Sep 12, 2023
| #' | ||
| #' Use `input_check_buttons()` if multiple choices may be selected at once; otherwise, use `input_radio_buttons()` | ||
| #' | ||
| #' @inheritParams input_check_search |
Collaborator
Author
There was a problem hiding this comment.
Copy over the relevant params from #484
2c09f4b to
c984c5a
Compare
9 tasks
Collaborator
Author
|
Closing in favor of https://github.com/rstudio/bslib/pull/797/files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Minimal example:
shinyApp( page_fluid(input_check_buttons("foo", c("a", "b", "c"))), function(input, output) { observe(print(input$foo))} )This incorporates #484, basically just for documentation purposes (#484 should probably also get merged first).
TODO
inst/component/toggle-buttons.jsto TypeScript (i.e.,srcts)layout_column_wrap()?)