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.
When using ng-model-options="{updateOn: 'blur'}" with the UIB Datepicker, the calendar does not disappear after selecting a date. Removing ng-model-options="{updateOn: 'blur'}" makes the calendar work again. ng-model-options="{updateOn: 'default blur'}" also does not work.
@wesleycho I'm interested in submitting a PR for this issue. Can you point me in the right direction? Unfortunately I can't do it during working hours.
I think there might have to be modifications in both the datepicker and datepicker-popup components for supporting this - basically we need to somehow decouple the config of the two components so that one can independently modify the ng-model-options of both the popup and inline datepicker.
It may be possible to just do it on the datepicker-popup alone, but I haven't investigated it in depth.
Bug description:
When using ng-model-options="{updateOn: 'blur'}" with the UIB Datepicker, the calendar does not disappear after selecting a date. Removing ng-model-options="{updateOn: 'blur'}" makes the calendar work again. ng-model-options="{updateOn: 'default blur'}" also does not work.
Expected Results:
ng-model-options="{updateOn: 'default blur'}" or ng-model-options="{updateOn: 'blur'}" should work.
https://docs.angularjs.org/api/ng/directive/ngModelOptions
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/LyWR5miigK76tQo7OwuY
Version of Angular, UIBS, and Bootstrap
Angular: 1.4.0
UIBS: 1.1.2
Bootstrap: 3.2
The text was updated successfully, but these errors were encountered: