| Tech | Version |
|---------------------|---------|
| material-ui-pickers | |
| material-ui | |
| React | |
| Browser | |
| Platform | |
1.
2.
3.
Yes) But actually cant understand what you mean under "month picker"
here is an example: (select month)
https://codepen.io/pen/?editors=0010
Closed as duplicate #330
Not sure why this is a duplicate of #330? That issue is talking about the ability to embed pickers (eliminate the the text field).
This issue is asking for a month/year picker (where you don't have to select a specific date).
I have been searching all over. There are lot of people asking for just year and month picker, not the date. Please reply if this supports just year/month picker.
Actually no. You can just reuse the control, that using for selecting year.
@veeru1087 I added support for that here https://github.com/OnFrontiers/material-ui/commits/v0.x
Hope that helps.
@alancasagrande Thank you so much! :)
@alancasagrande By any chance, do you have an online demo of this?
@veeru1087 I don't, but if you download the repo and follow the readme instructions located in docs/ you will be able to run the demo yourself.
@alancasagrande I was able to run the demo. This is exactly what we wanted. Thank you for all your work!
However I am not sure how I could include this in our project. Your Repo was forked on v0.x branch, which is not being maintained now. Did you create any pull request? If we directly have the DatePicker component from source, there were so many old dependencies, and many deprecated code warnings. Sorry for being a pain to you. I am new to working with forked repos. Could you please give me some direction here?
@veeru1087 yes v0.x is no longer maintained so they refused my PR. We had to create another repo for the build. What we do is:
1) Run build for https://github.com/OnFrontiers/material-ui
2) Copy to https://github.com/OnFrontiers/material-ui-build
3) npm install OnFrontiers/material-ui-build
I don't recommend relying on OnFrontiers/material-ui-build though, you should create a fork of your own. Hopefully you should be able to tree shake material-ui if you only need the DatePicker.
@alancasagrande Thank you so much for your guidance! I will fork your repo, tree shake it for Date Picker, and have another repo for the build. :)
Most helpful comment
Not sure why this is a duplicate of #330? That issue is talking about the ability to embed pickers (eliminate the the text field).
This issue is asking for a month/year picker (where you don't have to select a specific date).