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

Show/Hide does not work with certain outputId names #176

Closed
jeffkeller87 opened this issue Oct 30, 2018 · 1 comment
Closed

Show/Hide does not work with certain outputId names #176

jeffkeller87 opened this issue Oct 30, 2018 · 1 comment

Comments

@jeffkeller87
Copy link

Shiny supports fairly arbitrary outputId names as far as I can tell e.g., output$`a weird - name` . But shinyjs::show and shinyjs::hide doesn't like this unless I use syntactically valid names e.g., via make.names().

I suspect there's a character escaping issue/omission somewhere on the JS side.

@daattali
Copy link
Owner

This happened because jquery selectors do not accept spaces (as well as some other special characters). Should be fixed now.

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