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

Date selector component crashes shiny process on invalid input #1138

Closed
zackverham opened this issue Feb 16, 2024 · 0 comments · Fixed by #1139
Closed

Date selector component crashes shiny process on invalid input #1138

zackverham opened this issue Feb 16, 2024 · 0 comments · Fixed by #1139

Comments

@zackverham
Copy link

This issue is replicable on the component gallery in the docs:

https://shiny.posit.co/py/components/inputs/date-range-selector/

Rather than selecting a date through the calendar widget, if you manually clear the date from the text input (with the intention of typing in a valid date), the Python process will attempt to parse the empty string as a date and emit an error which breaks the app:

Screenshot 2024-02-16 at 9 40 11 AM
@cpsievert cpsievert transferred this issue from posit-dev/py-shiny Feb 16, 2024
@wch wch transferred this issue from posit-dev/py-shiny-site Feb 16, 2024
@wch wch closed this as completed in #1139 Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant