-
Notifications
You must be signed in to change notification settings - Fork 132
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
Min / Max Together Break Calendar #170
Comments
The lines causing this (reproducable) bug are the following: I didn't think of a solution yet, but I hope this helps someone who is able to solve this problem, because I am not that good of a programmer to be able to change this. While this is not fixed yet, try setting your min-date to the first of the current month at least (which works of course) minDate: {
type: Date,
value: function() {
var d = new Date();
return new Date(
d.getFullYear(), d.getMonth()
);
}
} |
@moritzmenzel Thank you for providing an answer! My project where I tried to use the component like this was time sensitive, so I had to find a replacement. This does seem to be an important use case that should be worked out though. |
Is this still an issue for you @milleraundra? If so I'll tag it and prioritize it with everything else for our next release into 2.0 since this is a pretty critical one if it's still around. |
I am not working with Polymer at this time, so this is not an issue for me anymore. Thanks! |
Took a look at the logic, it looks like this is still an issue, I'll do a deeper dive on it and see if I can reproduce and address the problem when I get some free time. |
When setting the min/max attributes individually, the calendar behaves correctly. When both values are provided, the calendar is blank. See the attached files.
Is there something I'm missing?
The text was updated successfully, but these errors were encountered: