-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BsDatePicker is unusable if minDate/maxDate range doesn't include current month. #2711
Comments
you can create some selectedDate that is in your range and bind it with ngModel into datepicker |
That IS exactly the problem. I need it to be empty to start. They are picking a birthday so there is no good default here. |
@chubbard view date is in the roadmap |
@valorkin any news on this one? |
If you set the minDate and maxDate to a date range that doesn't overlap with the current month (for example, a birthday for which you must be 18 or older) you can't scroll back to the valid date range because scrolling between months is disabled. I think there are 2 issues to consider. One that the months scrolls are disabled if you are in months that aren't included in the date range which renders the controls unusable. However, a related issue is that when the control is opened it defaults to show the current month instead of something in the date range, and there are no configuration settings for setting what date to start by default.
The text was updated successfully, but these errors were encountered: