-
Notifications
You must be signed in to change notification settings - Fork 297
Feature Request: Get id's of selected menuItem and notificationItem #114
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
Comments
Workaround found by stackoverflow user Batanichek: see here |
add a |
It's already possible to find the currently-selected However, it isn't currently possible to get the currently selected |
Here's where we're at right now:
So, TLDR:
|
I mostly want this for notificationItems, but in crafting a minimal example I noticed that I couldn't actually get this for menuItems either. The basic idea is that when a user clicks on a specific notificationItem, I want to get which notificationItem was clicked, and do something based on that (e.g. change a DataTable to show data relevant to that notification). I can't find any way of getting that information. Here's an example:
ui.R
server.R
What I would like is for the values "a" and "b" to be updated when the user clicks on a notificationItem or menuItem. According to the documentation for ?sidebarMenu, this should already be happening, so maybe that's a bug?
The text was updated successfully, but these errors were encountered: