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

URL doesn't restore when selectInput with multiple = T is used #13

Open
gedigerivijay opened this issue Aug 2, 2017 · 1 comment
Open

Comments

@gedigerivijay
Copy link

Hi,

I have a Shiny app with selectInput(multiple = TRUE). When I get the URL, I can see the multiple values for the select input in the URL. But, when I paste the URL into browser again, the restore won't happen. Everything gets reset to the original values.

I am rendering selectInput inside renderUI function. Is that the reason why the state is not restored? Every time the selectInput will be reloaded? The choices for selectInput are dynamic and based on the other input . So, its important that I put it in renderUI(). Can you please help me out here?

On the other hand, I have selectInput without multiple attribute and this is also rendered using renderUI function. The restore works perfectly fine with any value being selected in the select input.

Thanks.

@aoles
Copy link
Owner

aoles commented Aug 16, 2017

I'm happy to look into it. To get me started, it would be great if you could share a minimal working example which I could run to reproduce the issue. Thanks!

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