Skip to content

Feature Request: Months and Years only picker #269

@dev4press

Description

@dev4press
Contributor

Check out datetime picker that offers method for picking only month or only year: http://t1m0n.name/air-datepicker/docs/#example-months.

It would be great to have something like that available in Flatpickr.

Milan

Activity

chmln

chmln commented on Sep 16, 2016

@chmln
Member

Hello,

To be honest, I don't find this a necessary, or even very usable to be worth the effort of implementing.
Also, a lot of clicking there, and no options of direct input.

A couple of selects would be much easier to use

thejae

thejae commented on Mar 28, 2017

@thejae

+1 for this feature. May suggest the implementation of year range selection as well. For eg; Jan 2001 - Dec 2010

Guoxweii

Guoxweii commented on Jul 13, 2017

@Guoxweii
  • 1
heyange2002

heyange2002 commented on Jul 24, 2017

@heyange2002

+1

RedShift1

RedShift1 commented on Nov 14, 2017

@RedShift1

+1 Seems like a nice usability improvement in cases where you're working with months and selecting a day wouldn't make sense.

davestewart

davestewart commented on Aug 15, 2018

@davestewart

A couple of selects would be much easier to use

@chmln

We've just started using this at a bank, and choosing by month is something we do a lot.

It's a perfectly valid use case, especially when we only want to rely on a single configurable date-picker component.

reopened this on Aug 15, 2018
chmln

chmln commented on Aug 15, 2018

@chmln
Member

Now that scrolling is removed, let's make this happen :)

davestewart

davestewart commented on Aug 15, 2018

@davestewart

That's great news! The team is stoked 😁

davestewart

davestewart commented on Aug 28, 2018

@davestewart

@chmln - of course, we're interested to track the progress of any work on this.

Is there an ETA, or some way for us to do this?

I'd be happy to work on this myself, though my knowledge of Flatpickr is minimal.

Just checking out the docs, it seems that in the first instance, the time picker JS and UI could be repurposed.

{
    enableTime: true,
    noCalendar: true,
    dateFormat: "H:i",
}

I might get one of our guys to look at this next week...

ngstwr

ngstwr commented on Oct 3, 2018

@ngstwr

@chmln Is there a timeline for this or is it already implemented? I couldn't find any option or mention on documentation.

chmln

chmln commented on Oct 3, 2018

@chmln
Member

Hey all, I wish I could provide an ETA but I can't at the moment. It will be as soon as I can get some chunk of free time, within a month or two. Extremely busy at the moment in my final year at university.

If anyone wants to work on this - please go ahead, but keep it plugin-based as flatpickr core should not get any larger.

Thank you all for patience. :)

paolog22

paolog22 commented on Nov 20, 2018

@paolog22

+1 for this user make the Month and Year Select/Dropdown for easy navigation, rather than clicking multiple times just to navigate

43 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @carltongibson@davestewart@artur79@dev4press@torlokken

      Issue actions

        Feature Request: Months and Years only picker · Issue #269 · flatpickr/flatpickr