pickadate.js icon indicating copy to clipboard operation
pickadate.js copied to clipboard

Limit the view mode to months or weeks or years

Open halcyonandon opened this issue 11 years ago • 39 comments

Hi,

Love this for a calendar/date picker, but I'm going to end up being forced to use http://www.eyecon.ro/bootstrap-datepicker/ for a particular filter I have where the user searches by effective month/year. It would be great to have an option in pickadate that allows for other types of date-selection besides full calendar.

halcyonandon avatar Apr 24 '13 00:04 halcyonandon

I'm glad you like :)

I'm not sure I understand what you mean by "searches by effective month/year". Do you mean being able to select an entire month slot?

amsul avatar Apr 25 '13 17:04 amsul

Yes, so instead of a full calendar, it would simply be a list of months. I referenced the eyecon.ro datepicker because of how it integrates a month/year picker as an option that allows it to be included/excluded with the standard calendar or instantiated on its own.

halcyonandon avatar Apr 29 '13 01:04 halcyonandon

Here's a screenshot of what I did to the before-mentioned datepicker to get a month/year picker.

screen shot 2013-04-29 at 4 49 28 pm

halcyonandon avatar Apr 29 '13 23:04 halcyonandon

Oh I right, I see.. that would be kinda neat.

The picker has an “extend” API which could be used to create custom pickers - such as this one. The docs for this won’t be available until after v3 is out though. I'll leave this issue open till then because this would be a great example to show as an extension.

amsul avatar May 02 '13 00:05 amsul

@amsul awesome, thanks!

halcyonandon avatar May 13 '13 20:05 halcyonandon

@amsul hi, can you provide an example how to go about the month/year selector. I can't fin anything in the docs. Thanks.

augustianne avatar Aug 29 '14 08:08 augustianne

I understand this is still an open ticket, but is there any progress or ETA on this very cool feature? :)

naton avatar Dec 05 '14 07:12 naton

It’ll be a part of v4: #446

Aiming to have a beta by the end of the year :+1:

amsul avatar Dec 07 '14 04:12 amsul

@amsul awesome! :)

naton avatar Dec 10 '14 12:12 naton

Hey ! Just love your pickadate version :+1: Is it possible to select only the months on the current version?

vautrinr avatar Jan 30 '15 10:01 vautrinr

Is the month only view available on 4.0.0 yet ? If so, can you explain how to get this feature to work? Awesome work! Thanks.

p0tvin29 avatar Oct 16 '15 14:10 p0tvin29

:+1:

anotheri avatar Dec 28 '15 13:12 anotheri

Wondering if this is available yet too

mjhannaf avatar Jan 19 '16 19:01 mjhannaf

Nothing, after 3 years...

BrunoCodeman avatar Jun 20 '16 17:06 BrunoCodeman

No news?

hfrid avatar Jan 20 '17 10:01 hfrid

Just pick month/year, most used in credit card information. So it would be very helpful and useful.

ac1982 avatar Feb 20 '17 06:02 ac1982

+1

bnopacheco avatar Mar 31 '17 17:03 bnopacheco

+1

nayayan avatar Apr 11 '17 20:04 nayayan

+1

clarastar avatar Apr 13 '17 06:04 clarastar

+1

diegonakamashi avatar Apr 19 '17 23:04 diegonakamashi

Is there a way yet to show only days and months (no years and weekdays) in the calendar with this plugin?

sam100rav avatar Apr 27 '17 08:04 sam100rav

+1

JulieBeck avatar May 23 '17 08:05 JulieBeck

+1

WeslleyNasRocha avatar May 24 '17 14:05 WeslleyNasRocha

+1

tostercx avatar Jun 02 '17 14:06 tostercx

+1 ... hope amsul finds someone soon to maintain this project and add this feature

dennishochhaus avatar Sep 25 '17 12:09 dennishochhaus

+1

lenilsonjr avatar Sep 25 '17 12:09 lenilsonjr

+1

kevencarneiro avatar Nov 12 '17 17:11 kevencarneiro

+1

ghost avatar Dec 12 '17 12:12 ghost

+1

PQALAB avatar Dec 19 '17 00:12 PQALAB

+1

GlennVanSchil avatar Jan 17 '18 09:01 GlennVanSchil