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
Exception when input is not a valid date #1182
Comments
Hello, flatpickr does check whether the input is a valid date. Use the {
errorHandler: (error) => {
// do something
} |
Oh, ok, I missed the |
No problem 👍. It should really be documented better |
Sorry, I think this issue isn't quite done yet: if you create a Flatpickr instance and pass it an
This means that even if we pass options, if the parser created with Can you reopen the issue, please? |
Reproduction Link
https://jsfiddle.net/tj2Lo4z7/
Your Environment
Hi,
When putting anything (but not a valid date) in the input field (with
allowInput: true
) and pressing "Enter", an exception is thrown in the dev console:I guess there should be a check that the
value
is a correct date.Thanks!
The text was updated successfully, but these errors were encountered: