Hi devs,
First thanks for this great package, it's incredible!
My request is in the same trend as #68: how can I disable a button from a checkboxGroupButtons?
Since buttons do not have a unique id (which could be name-value for instance), they are quite hard to select with JQuery.
For now, here is my workaround:
ui.R
checkboxGroupButtons("total", label="Total", choices=c("row"="row", "column"="col"))
server.R
shinyjs::runjs("$(\"input[name='total'][value='row']\").parents('button').prop('disabled', true);")
Would you consider adding such an id, or maybe even implement such a disable feature in standalone or in updateCheckboxGroupButtons?
Thanks
Hi devs,
First thanks for this great package, it's incredible!
My request is in the same trend as #68: how can I disable a button from a
checkboxGroupButtons?Since buttons do not have a unique
id(which could bename-valuefor instance), they are quite hard to select with JQuery.For now, here is my workaround:
ui.R
server.R
Would you consider adding such an
id, or maybe even implement such adisablefeature in standalone or inupdateCheckboxGroupButtons?Thanks