Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateTreeInput to update input choices #709

Open
ComeMaes opened this issue Oct 10, 2024 · 1 comment
Open

updateTreeInput to update input choices #709

ComeMaes opened this issue Oct 10, 2024 · 1 comment

Comments

@ComeMaes
Copy link

Hi,
the following update function for TreeInput:

updateTreeInput <- function(inputId,
                            label = NULL,
                            selected = NULL,
                            session = shiny::getDefaultReactiveDomain())

does not take choices as an argument. Other checkboxes type inputs allow updating the listed choices. Is there any reason why treeInput does not allow it? And if not, is there an easy way to add the functionality?

Thank you!

@pvictor
Copy link
Member

pvictor commented Oct 25, 2024

No special reason, it has to be done, I'll look into it. I think you can put the treeInput in a renderUI for the moment.

Victor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants