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

[Request] DateTime month mode #939

Closed
NothingWeAre opened this issue Sep 28, 2017 · 3 comments
Closed

[Request] DateTime month mode #939

NothingWeAre opened this issue Sep 28, 2017 · 3 comments

Comments

@NothingWeAre
Copy link

Hello.
I would like to request an ability to limit minimal mode of datepicker to month through property, essentially making it MonthPicker, selecting for example first day of month. Or even configurable.

This can be useful when selected day has no meaning.
In my case I have to implement assignment of finance document to certain month, and then filter by month.
In case of creation selecting day is meaningless and in case of filter ability to select day can lead to confusion of user.

@rstoenescu
Copy link
Member

This is a case where from a UI perspective, a better approach would be to make a QSelect with the months as options. I hope you can agree.

@NothingWeAre
Copy link
Author

I think that i have to clarify my request.
At this time we have pair of selects: one for year and one for month and at submit i build date from values of both selects
While i agree that selecting only month more logical to do with single select, i think that selecting year + month still better with component similar to datetime.

@louisameline
Copy link

For the record, I wrote this a few months back: https://github.com/louisameline/quasar-monthpicker

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

No branches or pull requests

3 participants