`input_task_button()`: Allow updating the labels and icons
Open
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 569
- Forks
- 72
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
I'm trying to update the label of a input_task_button and I get this error:
Error in bslib::update_task_button("go", label = "bar") :
`...` must be empty.
✖ Problematic argument:
• label = "bar"
Here's the example:
library(shiny)
ui <- fluidPage(
bslib::input_task_button("go", "foo")
)
server <- function(input, output, session) {
bslib::update_task_button("go", label = "bar")
}
shinyApp(ui, server)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the supplied Shiny example and tracing bslib::input_task_button() and bslib::update_task_button(). Check how the update arguments are validated and how labels and icons are represented; done means the example can update the button label without the ... error and the requested label and icon updates work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, r
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100