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

QDate marks dates of adjacent months as non-selectable #4760

Closed
tiltec opened this issue Jul 29, 2019 · 2 comments
Closed

QDate marks dates of adjacent months as non-selectable #4760

tiltec opened this issue Jul 29, 2019 · 2 comments

Comments

@tiltec
Copy link

tiltec commented Jul 29, 2019

Describe the bug

QDate marks dates of adjacent months as non-selectable. This is especially confusing when other dates are really non-selectable, by being disabled with the options prop.

Example: all upcoming dates are selectable, but it shows 1st, 2nd and 3rd of August as non-selectable (until you switch to August, obviously...):

image

Codepen/jsFiddle/Codesandbox (required)
https://codepen.io/tiltec/pen/jgyjob

Expected behavior
Mark selectable options of adjacent months as selectable, and select them when clicking on them.

Alternatively, you could revert to v0.17 behavior of not showing days of adjacent months. This fits with this Material Design screenshot: https://material.io/design/components/pickers.html

(I left out the other bug report form sections on purpose because I don't think they describe the problem any further. I hope that judgement was correct!)

@pdanpdan
Copy link
Collaborator

Yes, I think not showing them should be the right approach.

@rstoenescu
Copy link
Member

Will be available in 1.0.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants