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

Invalid date exception handling #2793

Open
Eonasdan opened this issue Apr 10, 2023 Discussed in #2656 · 1 comment
Open

Invalid date exception handling #2793

Eonasdan opened this issue Apr 10, 2023 Discussed in #2656 · 1 comment

Comments

@Eonasdan
Copy link
Owner

Discussed in #2656

Originally posted by laputaworkuk September 17, 2022
Hi ,

If I input invalid date time value, e.g. 23/13/2023, it will only throw
Error: TD: Could not correctly parse "23/13/2323" to a date for input.
at ErrorMessages.failedToParseDate
How can I catch this error ?

Thank you

Currently, the picker outputs errors, but there's no way to catch or handle them.

@Eonasdan Eonasdan added this to the 7.0 milestone Apr 10, 2023
@Eonasdan Eonasdan added the State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release label Dec 20, 2023
Eonasdan added a commit that referenced this issue Dec 21, 2023
Eonasdan added a commit that referenced this issue Dec 21, 2023
v6.9.4
@Eonasdan Eonasdan mentioned this issue Dec 21, 2023
Eonasdan added a commit that referenced this issue Dec 21, 2023
* fixes #2884

* fixes #2886

* fixes #2881

* fixes #2879

* fixes #2857

* #2793

* #2793
v6.9.4
@Eonasdan Eonasdan removed the State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release label Dec 21, 2023
@Eonasdan
Copy link
Owner Author

This is done in 6.9.4

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant