nazar-pc / PickMeUp

Really simple, powerful, customizable and lightweight standalone datepicker
BSD Zero Clause License
616 stars 191 forks source link

How do I disable multi month view for a single month calendar? #200

Closed cretace closed 6 years ago

cretace commented 6 years ago

Question I have a single month view - if I click the prev/next arrows fast I get the display of 'many month names' or 'many years'. Can I disable that so it's strictly month by month? I can't see it in the options list. Thanks for great plug in!

nazar-pc commented 6 years ago

I don't quite understand what you mean by I get the display of 'many month names' or 'many years'. Are you sure you're clicking strictly on arrows and not on the area between them?

cretace commented 6 years ago

Thanks Nazar . It's not me - it's my users ! I guess they are clicking in the wrong place but they don't like the feature as they only ever need to go a few months forward. Can I disable it?

nazar-pc commented 6 years ago

I think what you want is to set both select_month and select_year to false, then clicking between arrows will have no effect.

cretace commented 6 years ago

Ah, that's it thanks