0

I'm working on a project and i want to make my jfoenix date picker to pick only year and month is anyone knows how done this ?

  • 1
    No, it is a "date picker," not a month/year picker. You would need to either build your own or find a library that offers such a control. You would also need to implement your own data model for the value since Java does not include a `MonthYear` or similar object. – Zephyr Sep 26 '21 at 18:19
  • 6
    It’s hard for me to imagine a user interface for this that would be any better than just a combo box for the month and a spinner for the year. – James_D Sep 26 '21 at 19:22
  • @James_D Here is another [option](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/month) – Miss Chanandler Bong Sep 28 '21 at 06:37

0 Answers0