bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Datepicker - disable year/month navigation if min date specified

Open lukaszprus opened this issue 12 years ago • 10 comments

Currently I can move back hundreds of years even if minimum date is specified. How can I disable that?

lukaszprus avatar Mar 27 '14 11:03 lukaszprus

It actually doesn't do that, it is a good thing to implement imho, but the end word is from @bekos

Foxandxss avatar Mar 31 '14 20:03 Foxandxss

@lucasprus @Foxandxss This sounds a good thing to have. If you are up to prepare a PR for this, I would gladly review :-)

bekos avatar Apr 09 '14 18:04 bekos

Can you please review my pull request: https://github.com/angular-ui/bootstrap/pull/2550

breugen avatar Aug 06 '14 12:08 breugen

:+1:

kukac7 avatar Sep 05 '14 15:09 kukac7

What's the status on this issue?

Nahlen avatar Nov 27 '14 11:11 Nahlen

@bekos, do we have an update for this PR ?, thanks

lesterlpena avatar Dec 09 '14 11:12 lesterlpena

Has the PR been accepted for this issue? I too would like to disable month/year pagination when a min/max date has been set.

romiem avatar Jan 27 '16 15:01 romiem

Left/Right buttons don't respect min/max dates. Subscribed. Probably datepicker settings should have an option left_right_respect_min_max_dates or something shorter. The reason is that if we implement this feature it will break the behaviour expectation of the most people who are currently using the module.

valtumi avatar Feb 10 '16 05:02 valtumi

PRs welcome - this doesn't sound like it would be a hard feature to implement.

wesleycho avatar Mar 05 '16 22:03 wesleycho

What is the expected fix/feature for this issue ?

galorr avatar Jun 21 '17 08:06 galorr