angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.29k stars 6.73k forks source link

Datepicker - disable year/month navigation if min date specified #1993

Open lukaszprus opened 10 years ago

lukaszprus commented 10 years ago

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

Foxandxss commented 10 years ago

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

bekos commented 10 years ago

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

breugen commented 10 years ago

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

kukac7 commented 10 years ago

:+1:

Nahlen commented 9 years ago

What's the status on this issue?

lesterlpena commented 9 years ago

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

romiem commented 8 years ago

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.

TrueMan777 commented 8 years ago

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.

wesleycho commented 8 years ago

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

galorr commented 7 years ago

What is the expected fix/feature for this issue ?