flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

DatePicker for selecting only months.

Open iamjaeholee opened this issue 1 year ago • 2 comments

  • [x] I have searched the Issues to see if this bug has already been reported
  • [x] I have tested the latest version

Summary

what about making a functionality that user can use DatePicker as MonthPicker so that select only month using it ? My project needs MonthPicker so i implemented with a Dropdown. However flowbite-react DatePicker UI is simple and good so it would be great to have the functionality inside DatePicker.

example) DatePicker picking only yyyy-MM not yyyy-MM-dd

Context

DatePicker functionality or option for working like MonthPicker. If not having this feature, i need implement MonthPicker by myself.

iamjaeholee avatar Feb 25 '25 22:02 iamjaeholee

Just to add on to this. When you want to select the month, the actual current month is not shown as selected. theme -> views -> months -> items -> item -> selected (not working)

Day and Year is working.

Dude5th avatar Mar 17 '25 22:03 Dude5th

Have added the fix here: https://github.com/themesberg/flowbite-react/pull/1574, pending approval from the maintainers.

lydiapostk avatar May 21 '25 17:05 lydiapostk