You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
Either the updated documentation is wrong or there is a bug:
The documentation states that minDate and maxDate defaults to null.
However, I get the deprecation warnings when I do not specify a datepicker-options object or if I specify a options object without a minDate and maxDate property.
Where are the default values?
It is really annoying that I have to specify a datepicker-options attribute in my HTML and define a useless options object vm.datepickerOptions = {minDate: null, maxDate: null}; in my controller to avoid getting the deprecation warnings.
I would like to instead have the default null values apply, as I have no need to do any configuration that requires a datepicker-options
This stops the datepicker popup from incorrectly showing a warning when not supplying any datepicker options.
Fixes: angular-ui#5743Closesangular-ui#5747
When using
datepickerPopup
datepickerOptions
; ordatepickerOptions
andminDate
ormaxDate
undefinedwrong deprecation warnings are printed to the console on popup activation:
http://plnkr.co/edit/ShuLcciyecNDfxlhOHHV?p=preview
Angular: 1.5.3
UIBS: 1.3.0
Bootstrap: 3.3.6
The text was updated successfully, but these errors were encountered: