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
Handle nullable date. #1
Comments
Null values are not allowed. The Not quite sure how this should be implemented 🤔 If |
Even with the undefined value, I can't manage to have an empty date |
The argument can be |
Saw that the fallback of undefined is new Date(), in fact there is no way of having a null value for the input. How do you handle the case of a nullable date input field? |
Once again, the value cannot be null, there's no way for it to have a value other than |
I see that the value cannot be null. But I suppose the null can be implemented since the default html 5 input type date supports null value |
That's why I was wondering how to implement it. The HTML date input is not even a |
I suppose it can be handled with the empty string. |
I think issue #3 is related to this.
|
would like to vote for this issue - this was a blocker my team to adopt this date picker component. otherwise it's the best one i've seen so far. |
Working on a PR for this - it's still a draft and needs some further tweaks, and regression and logging cleanup |
Fixed by #7 |
The library already allows null values, but when I pass to the DateInput I get this error:
Is there any way to add an element that removes the date from the picker?
Asking this cause my date field is nullable.
The text was updated successfully, but these errors were encountered: