-
Notifications
You must be signed in to change notification settings - Fork 77
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
Tab 2 input elements are not created until they get the focus on #4
Comments
Input elements that are in inactive tabs are not calculated and are NULL. Once you click on the second sidebar panel, the problem disappear. Try reinstall shinydashboardPlus from GitHub:
If you want to put your checkbox in the second tab, you should tell shinydashboardPlus that the second rightSidebarTabItem is active (TRUE) and that the second rightSidebarTabContent is also active (TRUE). The dashboard will be started with the second tab active and your slider will be rendered immediately.
This approach will not work if you put two uiOuput items in separate tabItems. For now, you should put all dynamically rendered UI elements in one dedicated tab and set it to active. I will find a better approach soon. |
Yes, that's a workaround, not a fix. Also, I miss the option to set the width of the right sidebar. Thank you. |
|
Sorry to post here, but lastest development version gives me an error with rightSidebarTabList
(the same app i posted here). Going back to cran version fix the problem. `> sessionInfo() Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached):
|
In the rightSidebar function you do not need rightSidebarTabList, rightSidebarTabItem nor rightSidebarPanel. See the documentation in the official package website or the help(rightSidebar) in Rstudio. I simplified the package since the rightSidebar syntax was too heavy. |
Ok, it has been changed in the devel version, I will change it |
V 0.3.0 on CRAN. You do not need to install from GitHub. |
Fixed in latest devel version |
I create an input element called advanced that modifies what's shown in the body. When element is TRUE, I add an extra sliderInput.
input.advance is TRUE by default, but when I open the app, the sliderInput is not shown. When I click in the second Tab, then the sliderinput appears.
If I put the input.advance in Tab 1, it works, seems like only Tab 1 elements are created.
The text was updated successfully, but these errors were encountered: