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
DateRangePicker.clear() throws NPE #54
Labels
bug
Something isn't working
Comments
This should be fixed with a2854ff When calling |
Merged
Why not using the default model for clear? |
2 reasons:
|
That's true. I understand the problem now. I would suggest two additional ideas:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default implementation of
clear
in HasValue uses the defaultgetEmptyValue
, which isnull
. I am not sure what should happen ifclear
is called, but a NPE should never occur. I think it should jump back to thedefaultModel
.The text was updated successfully, but these errors were encountered: