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

Perioddatetangepicker does not work when it´s deployed on Shinyapps.io #1

Open
AlejandroAyllon opened this issue Oct 27, 2022 · 2 comments

Comments

@AlejandroAyllon
Copy link

Hi,

I´m implementing perioddatetangepicker in my dashboards but it does not work correctly when it´s deployed on Shinyapps.io. I have detected this issue (images attached) when I opened the developer console. This error message also appears when running locally, but for some reason it works fine while running locally.

Please, let me know if you need more information about this.

Thanks in advance.

image
image

@trafficonese
Copy link
Owner

Can you add a little reproducible example? When I run the example app locally and on shinyapps.io I am not getting any error.

https://trafficonese.shinyapps.io/testapp/

@AlejandroAyllon
Copy link
Author

AlejandroAyllon commented Nov 3, 2022

Thanks for your answer I have investigated about the real issue. The problem was I created perioddaterangepicker with only "week" period option. Then I updated it according to other filter (with "week" and "month" options) using updatePerioddaterangepicker. This filter change the period options of perioddaterangepicker, but "month" period did not exist. So, I start the perioddaterangepicker with "week" and "month" period options and now it works correctly.

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